Push
Uploads a formula to the remote registry.
The GroundZero formulas registry is currently in private beta, please sign up for early access.
Usage
Use the push
command to upload a formula to the GroundZero formulas registry.
g0 push <formula-name>
Use the @
notation to specify a specific version to upload.
g0 push <formula-name>@<version>
The version to upload must be greater than an existing version for the formula on the remote registry.
A valid API key is required for using the push
command. API keys can be generated from the web portal and configured for CLI use using the configure command.
Advanced Usage
Upload using a specific profile
The command defaults to uploading formulas using the default
profile, you can use the --profile
option to specify the profile (set of credentials) to use for uploading.
g0 push <formula-name> --profile <profile-name>
Profiles are configured using the configure command.
Upload using a specific API key
You can use the --api-key
option to specify the API key to use for uploading.
g0 push <formula-name> --api-key <api-key>