Remove a package from the app or environment scope
The remove
command removes a reference to a ksonnet library. The reference can either be
global or scoped to an environment. If the last reference to a library version is removed, the cached
files will be removed as well.
ks pkg remove <registry>/<library> [flags]
# Remove an nginx dependency
ks pkg remove incubator/nginx
# Remove an nginx dependency from the stage environment
ks pkg remove incubator/nginx --env stage
--env string Environment to remove package from (optional)
-h, --help help for remove
--dir string Ksonnet application root to use; Defaults to CWD
--tls-skip-verify Skip verification of TLS server certificates
-v, --verbose count Increase verbosity. May be given multiple times.
- ks pkg - Manage packages and dependencies for the current ksonnet application