CLI command: c4-cli librepo
c4-cli librepo
Manages library repositories and the libraries they contain
Usage:
c4-cli librepo [OPTIONS] <COMMAND>
c4-cli librepo install LibRepoName [--dry-run] [--overwrite|--skip-existing] C:/path/to/library.compiled-library [C:/path/to/library.compiled-library-v3] [...] c4-cli librepo install LibRepoName [--dry-run] [--overwrite|--skip-existing] [--all] C:/path/to/library-folder [C:/path/to/library-or-folder] [...] c4-cli librepo install C:/path/to/librepo/ C:/path/to/library.compiled-library C:/path/to/library.compiled-library-v3 c4-cli librepo install LibRepoName --all C:/path/to/library-folder C:/path/to/library-or-folder [...] c4-cli librepo install LibRepoName --overwrite C:/path/to/library.compiled-library
Options | Description |
|---|---|
| Displays help for the command |
Command | Description |
|---|---|
| Installs the specified libraries into the specified library repository |
CLI command: c4-cli librepo install
Installs the specified libraries into the specified library repository
Usage:
c4-cli librepo install <library-repository> <library-paths> [OPTIONS]
c4-cli librepo install C:/path/to/librepo/ C:/path/to/library.compiled-library C:/path/to/library.compiled-library-v3
c4-cli librepo install LibRepoName --all C:/path/to/library-folder C:/path/to/library-or-folder
c4-cli librepo install LibRepoName --overwrite C:/path/to/library.compiled-library
c4-cli librepo install LibRepoName --skip-existing C:/path/to/library.compiled-library
c4-cli librepo install LibRepoName --dry-run C:/path/to/library.compiled-libraryArguments | Description |
|---|---|
| Specifies the library repository where the libraries should be installed Valid targets are either a repository name – as defined in the library repository preferences – or a relative or absolute path to the root folder of the repository. Use |
| Paths to libraries to install or to folder paths containing libraries |
Options | Description |
|---|---|
| Displays help for the command |
| Enables logging to the console at the Short form for |
| Sets the log level for logging to the console, for example |
| Optional When the flag is set, the command will report in the usual way which changes would have been made during the execution. However, the file system will not be modified. |
| Optional Overwrites existing libraries with the same library ID in the library repository. Mutually exclusive with |
| Optional Skips the installation of libraries that already exist in the library repository. Mutually exclusive with |
| Optional Optional. Recursively scans the specified folder paths and installs all libraries found in the folder structure |