f4ecacbdd2508b51a146b28495ea13887995f4d5
DCOS Command Line Interface
The DCOS Command Line Interface (CLI) is a command line utility supporting several commands to provide an user friendly yet powerful way to manage DCOS installations.
Dependencies
- Git
Setup
Make sure you meet requirements for installing packages
Clone git repo for the dcos cli:
git clone git@github.com:mesosphere/dcos-cli.gitChange directory to the repo directory:
cd dcos-cliMake sure that you have virtualenv installed. If not type:
sudo pip install virtualenvCreate a virtualenv for the dcos cli project:
make env
Configure Development Environment
Activate the virtualenv:
source env/bin/activateExport DCOS_PATH:
export DCOS_PATH=$(pwd)/envExport DCOS_CONFIG:
export DCOS_CONFIG=$(pwd)/tests/data/Dcos.toml
Running POC
Get started by calling DCOS CLI help:
dcos --help
Running Tests:
Run all DCOS CLI tests (make sure that you are running Zookeeper, Mesos and Marathon):
toxList all of the supported test environments:
tox --listenvsRun a specific set of tests:
tox -e <testenv>
Description
Languages
Python
89.4%
Mustache
4%
HTML
4%
Shell
2.1%
reStructuredText
0.4%
Other
0.1%