Skip to content

Commit

Permalink
v0.0.21: Major CLI improvements
Browse files Browse the repository at this point in the history
Breaking changes in this version:

- All `<POD> <SERVICE>` arguments must now be written as either
  `<POD>/<SERVICE>`, or as just `<SERVICE>` if the name is unique.
- The `cage generate list` command is now called as `cage generate`.

New features include:

- A brand-new argument parser based on clap, with much better subcommand
  support.  Type just `cage` for detailed help.
- Experimental shell completion support for fish and bash.  Run
  `cage generate completion --help` for instructions.
- Support for `--entrypoint` and `-e` arguments.

To migrate an existing project, you will want to add a
`config/project.yml` file containing:

    # This is a semver requirement, and it supports the full syntax at
    # https://github.com/steveklabnik/semver
    cage_version: "0.0.21"

If your version of cage is too old or too new for a given project, it
will print an error.  This will make it easier for teams to keep up with
breaking changes in future releases of cage.
  • Loading branch information
emk committed Oct 11, 2016
1 parent 69e262d commit d170460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cage"
version = "0.0.20"
version = "0.0.21"
authors = ["Eric Kidd <[email protected]>"]

description = "Develop multi-pod docker-compose apps"
Expand Down

1 comment on commit d170460

@erithmetic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new command format is beautiful

Please sign in to comment.