Repository task reference
This topic contains a list of the repository commands that can be issued from the command line.
repository help
- Description
-
Usage:
- zero repository help <subcommand>
For help on a specific subcommand, type zero repository help <subcommand>.
repository info
- Description
-
Usage:
- zero repository info [-json]
The command prints basic configuration data about all of the available repositories. If the -json option is used, the report is formatted as a JSON document.
If the -json option is used, the report is formatted as a JSON document.
repository list
- Description
-
Usage:
- zero repository list >modulegroup< [-json]
The command lists the modules contained in the specifed module group. The modulegroup can be one of the configured modulegroups or the file path to a private shared repository.
If the -json option is used, the report is formatted as a JSON document.
repository publish
- Description
-
Usage:
- zero repository publish <modulegroup> [-f=<file>] [-overwrite]
Publishes the zip created by the package command to the specified modulegroup. The zip is typically located in the module's export directory. The modulegroup can be one of the configured modulegroups or the path to a private shared repository.
The -f option specifies an alternative location of the zip file.
The -overwrite option forces the publish to succeed when the module already exists in the repository.