mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armand Grillet <agril...@mesosphere.io>
Subject Review Request 69026: Changed usage documentation for new CLI.
Date Mon, 15 Oct 2018 11:45:43 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69026/
-----------------------------------------------------------

Review request for mesos and Kevin Klues.


Bugs: MESOS-6551
    https://issues.apache.org/jira/browse/MESOS-6551


Repository: mesos


Description
-------

Moved the `[options]` in the usage documentation
to where they should be set when using the CLI.


Diffs
-----

  src/python/cli_new/lib/cli/plugins/base.py 6cba828d886dcc2e1d0a00514f62d87634aafe9e 


Diff: https://reviews.apache.org/r/69026/diff/1/


Testing
-------

```
(mesos-cli) ?  cli_new (MESOS-6551) ? mesos task
Interacts with the tasks running in a Mesos cluster

Usage:
  mesos task (-h | --help)
  mesos task --version
  mesos task <command> (-h | --help)
  mesos task [options] <command> [<args>...]

Options:
  -h --help  Show this screen.
  --version  Show version info.

Commands:
  exec  Execute commands in a task's container
  list  List all active tasks in a Mesos cluster
```
And:
```
(mesos-cli) ?  cli_new (MESOS-6551) ? mesos task exec
Execute commands in a task's container

Usage:
  mesos task exec (-h | --help)
  mesos task exec --version
  mesos task exec [options] <task-id> <command> [<args>...]

Options:
  -h --help         Show this screen.
  -i --interactive  interactive [default: False]
  -t --tty          tty [default: False]


Description:
  Execute commands in a task's container
```


Thanks,

Armand Grillet


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message