Files
deb-python-dcos/cli/dcoscli/data/help/package.txt

101 lines
3.4 KiB
Plaintext

Description:
Install and manage DC/OS software packages.
Usage:
dcos package --config-schema
dcos package --help
dcos package --info
dcos package describe <package-name>
[(--app [--render]) --cli --config --options=<file>]
[--package-version=<package-version>]
dcos package describe <package-name> --package-versions
dcos package install <package-name>
[--cli | [--app --app-id=<app-id>]]
[--package-version=<package-version>]
[--options=<file>]
[--yes]
dcos package list [<package-name> --json --app-id=<app-id> --cli]
dcos package repo add <repo-name> <repo-url> [--index=<index>]
dcos package repo import <repos-file>
dcos package repo list [--json]
dcos package repo remove <repo-names>...
dcos package search [<query> --json]
dcos package uninstall <package-name>
[--cli | [--app --app-id=<app-id> --all]]
dcos package update
Commands:
describe
Get specific details for packages.
install
Install a package.
list
Print a list of the installed DC/OS packages.
repo add
Add a package repository to DC/OS.
repo remove
Remove a package repository from DC/OS.
repo list
Print the package repository sources. Possible sources include a local
file, HTTPS, and Git.
search
Search the package repository.
uninstall
Uninstall a package.
update
This command has been deprecated. Repositories are dynamically updated
when they are added by the `dcos package repo add` command.
Options:
--all
All packages.
--app
Application only.
--app-id=<app-id>
The application ID.
--cli
Command line only.
--config
Print the configurable properties of the `marathon.json` file.
--index=<index>
The numerical position in the package repository list. Package
repositories are searched in descending order. By default, the Universe
repository first in the list.
-h, --help
Print usage.
--info
Print a short description of this subcommand.
--json
JSON-formatted data.
--options=<file>
Path to a JSON file that contains customized package installation options.
--package-version=<package-version>
The package version.
--package-versions
Print all versions for this package.
--render
Collate the `marathon.json` package template with values from the
`config.json` and `--options`. If not provided, print the raw templates.
--version
Print version information.
--yes
Disable interactive mode and assume "yes" is the answer to all prompts.
Positional Arguments:
<package-name>
Name of the DC/OS package.
<query>
Pattern to use for searching the package repository. You can use
complete or partial values.
<repo-name>
Name of the package repository. For example, `Universe`.
<repo-url>
URL of the package repository. For example,
https://universe.mesosphere.com/repo.
<repo-file>
A file containing package repositories, listed in the format
of `dcos package list --json`.
Example:
{"repositories": [{"name": "Universe", "uri": "uri-here"}]}