fetch-libs¶
Fetch charm libraries defined in charmcraft.yaml.
For each library in the top-level charm-libs key, fetch the latest library version matching those requirements.
For example:
charm-libs:
# Fetch lib with API version 0.
# If `fetch-libs` is run and a newer minor version is available,
# it will be fetched from the store.
- lib: postgresql.postgres_client
version: "0"
# Always fetch precisely version 0.57.
- lib: mysql.client
version: "0.57"
Usage¶
charmcraft fetch-libs [options]
Options¶
--formatProduce the result in the specified format (currently only ‘json’).
Global options¶
-hor--helpShow this help message and exit.
-qor--quietOnly show warnings and errors, not progress.
-vor--verboseShow debug information and be more verbose.
--verbositySet the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’.
-Vor--versionShow the application version and exit.