Contribution Guide for the DC/OS CLI
September 23, 2019 ยท View on GitHub
Thanks for contributing! Here are a few guidelines to get you started.
Submitting Issues
Please file feature requests and bugs through Github issues.
If you are submitting a bug report, please include:
- dcos cli version:
dcos --version - DC/OS version
- operating system
- command that errored with
-v
Creating PRs
Commit Message
Please describe the problem you are addressing and your proposed solution.
Style
You can make sure your code conforms to our code style conventions by running
make lint directories.
Please also follow our style guide when updating user-facing parts of the CLI.
Tests
Please include test(s) with your changes. Make sure to separate integration and unit tests.
You can use make test to run unit tests, in order to run integration tests please follow
these instructions.
Completion scripts
If your PR introduces a new command or adds/updates CLI flags, make sure to update the completion
script as well, it can be found in ./pkg/cmd/completion/completion.sh.
Thanks!
The DC/OS CLI Team