
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
@procamp/cli
Advanced tools
The init command allows you to initialize the project configuration for your camp.
camp init [options]
The init command initializes the project configuration by prompting you to provide information about the camp. It creates a meta.json file with the provided details in the specified directory.
-d, --directory <directory>: The directory to initialize the project. If not specified, the current working directory will be used.During the initialization process, the following prompts will be presented:
To initialize the project configuration for your camp, run the following command:
camp init -d /path/to/project
This will prompt you to provide the required information and create a meta.json file in the specified directory.
The new command generates a new course project with the specified name.
camp new <projectName>
The new command generates a new course project with the given <projectName>. It creates a new directory with the project name and prompts for confirmation before proceeding.
<projectName>: The name of the project to generate. This will be used as the directory name for the project.To generate a new course project with the name "myproject", run the following command:
camp new myproject
This will create a new directory named "myproject" and initialize the project configuration within it using the init command.
The pack command compresses files in the specified directory.
camp pack [options]
The pack command compresses the files in the specified directory using the ZIP format. It excludes certain files and directories from compression, such as "_MACOSX" and "node_modules".
-d, --directory <directory>: The directory to compress. If not specified, the current working directory will be used.To compress files in the current working directory, run the following command:
camp pack
This will create a compressed ZIP file named ".output.zip" in the same directory.
To compress files in a specific directory, provide the directory path using the -d or --directory option:
camp pack -d /path/to/directory
This will create a compressed ZIP file named ".output.zip" in the specified directory.
The login command allows you to log in to Procamp.
camp login
The login command prompts you to enter your email and password to log in to Procamp. It then retrieves the access token and stores it securely in the config file.
To log in to Procamp, run the following command:
camp login
This command performs the following steps:
The publish command publishes the files to the service.
camp publish
The publish command publishes the files to the service by compressing the files, validating the course, and then sending the compressed file to the service endpoint.
Before running the publish command, make sure you have completed the following steps:
meta.json file exists in the current directory.To publish the course files to the service, run the following command:
camp publish
This command performs the following steps:
meta.json file exists in the current directory.meta.json file.Note: Make sure you are logged in by setting up the config file with your credentials before running the publish command.
The validate command validates the course folder structure.
camp validate
The validate command validates the course folder structure to ensure it meets the required format and structure. It checks for any missing or incorrectly organized files and directories.
To validate the course folder structure, run the following command:
camp validate
This command performs the following steps:
The generate command generates a course based on the provided blueprint.yaml file.
camp generate <key> <value>
The generate command generates a course with the specified structure using the blueprint.yaml file. It creates directories and files based on the blueprint configuration.
<key>: The key to specify the type of generation. Currently supported key: course.<value>: The value associated with the key.To generate a course structure based on the blueprint.yaml file, run the following command:
camp generate course .
This command performs the following steps:
blueprint.yaml file in the current directory.meta.json file.README.md files in each directory.Note: Make sure you have the blueprint.yaml file in the current directory before running the generate command.
The set command allows you to set values for specific keys.
camp set <key> <value>
The set command sets values for specific keys in the configuration files.
courseId: Sets the course ID in the meta.json file.clientId: Sets the client ID in the config file.clientSecret: Sets the client secret in the config file.To set the course ID, run the following command:
camp set courseId <courseId>
This command sets the provided <courseId> in the meta.json file.
To set the client ID, run the following command:
camp set clientId <clientId>
This command sets the provided <clientId> in the config file.
To set the client secret, run the following command:
camp set clientSecret <clientSecret>
This command sets the provided <clientSecret> in the config file.
FAQs
Procamp CLI
We found that @procamp/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.