Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands #2

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update todo list
  • Loading branch information
bkeepers authored May 31, 2017
commit e1dbd795188d75b51b3370ce12d371bc2d658e82
8 changes: 4 additions & 4 deletions _drafts/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ robot

TODO:

- explicit args
- [ ] explicit args
- required: `deploy <branch>`
- optional: `deploy <branch> [environment]`
- Variadic: `deploy <branch> [hosts...]`
- coercion & regex for advanced syntax
- default values
- subcommands: `deploy list`
- automated help
- disable `option`
- [ ] subcommands: `deploy list`
- [ ] automated help
- [ ] listener metadata

Initially, this API will act as a subset of `respond`. The cowsay example above would look like this with existing APIs:

Expand Down