Skip to content
Myr

Add CONTRIBUTING.md (#1183)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Warren Fernandes · committed by GitHub · parent 96dc555 · Browse files · 2 files+51 added−11 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+51 added−11 removed

  • other:+51 added−11 removed

2 files+51 added−11 removed

added:CONTRIBUTING.md+50 added
modified:README.md+1 added-11 removed
28 unmodified lines
29 * [PreRun and PostRun Hooks](#prerun-and-postrun-hooks)30 * [Suggestions when "unknown command" happens](#suggestions-when-unknown-command-happens)31 * [Generating documentation for your command](#generating-documentation-for-your-command)32 * [Generating shell completions](#generating-shell-completions)33- [Contributing](#contributing)33- [Contributing](CONTRIBUTING.md)34- [License](#license)3536# Overview37
716 unmodified lines
754## Generating shell completions755756Cobra can generate a shell-completion file for the following shells: Bash, Zsh, Fish, Powershell. If you add more information to your commands, these completions can be amazingly powerful and flexible. Read more about it in [Shell Completions](shell_completions.md).757758# Contributing7597601. Fork it7612. Download your fork to your PC (`git clone https://github.com/your_username/cobra && cd cobra`)7623. Create your feature branch (`git checkout -b my-new-feature`)7634. Make changes and add them (`git add .`)7645. Commit your changes (`git commit -m 'Add some feature'`)7656. Push to the branch (`git push origin my-new-feature`)7667. Create new pull request767758# License759760Cobra is released under the Apache 2.0 license. See [LICENSE.txt](https://github.com/spf13/cobra/blob/master/LICENSE.txt)