aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Chu-Carroll" <mchucarr...@twopensource.com>
Subject Re: Review Request 22263: Add a short form of help for v1 client, so that merged help isn't unreasonably long.
Date Tue, 10 Jun 2014 14:27:44 GMT

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

(Updated June 10, 2014, 10:27 a.m.)


Review request for Aurora, David McLaughlin and Brian Wickman.


Changes
-------

Rebase.


Bugs: aurora-422
    https://issues.apache.org/jira/browse/aurora-422


Repository: aurora


Description
-------

Add a short form of help for v1 client, so that merged help isn't unreasonably long.


Diffs (updated)
-----

  src/main/python/apache/aurora/client/cli/bridge.py 6528d90508b706a374a0f21ec982519a3880cc55

  src/main/python/apache/aurora/client/cli/client.py e4409e5dea5c03c3d731d02b00008b081a8a0933


Diff: https://reviews.apache.org/r/22263/diff/


Testing
-------

[sun-wukong aurora2 (bridged-help)]$ ./dist/aurora2.pex help
This is a merged command line, consisting of ['Aurora Client v2', 'Aurora Client v1']
========== help for Aurora Client v2 ==========
Aurora Client version unknown@unknown
Usage:
==Commands for tasks
  task run [--threads=value] [--ssh-user=value] [--executor-sandbox] CLUSTER/ROLE/ENV/NAME[/INSTANCES]
str
  task ssh [--ssh-user=value] [--executor-sandbox] [--tunnels=PORT:NAME] [--command=str] value

==Commands for quotas
  quota get [--write-json] CLUSTER/NAME

==Commands for crons
  cron start [--bind=pystachio-binding] [--open-browser] [--config=str] [--read-json] CLUSTER/ROLE/ENV/NAME
  cron show CLUSTER/ROLE/ENV/NAME
  cron deschedule [--bind=pystachio-binding] CLUSTER/ROLE/ENV/NAME
  cron schedule [--bind=pystachio-binding] [--read-json] CLUSTER/ROLE/ENV/NAME str

==Commands for jobs
  job status [--write-json] value
  job create [--bind=pystachio-binding] [--read-json] [--wait-until=('PENDING', 'RUNNING',
'FINISHED')] [--open-browser] CLUSTER/ROLE/ENV/NAME str
  job inspect [--bind=pystachio-binding] [--read-json] [--local] [--raw] CLUSTER/ROLE/ENV/NAME
str
  job list value
  job update [--force] [--bind=pystachio-binding] [--read-json] [--healthcheck-interval-seconds=value]
CLUSTER/ROLE/ENV/NAME[/INSTANCES] [--strict] str
  job cancel-update [--read-json] [--config=str] CLUSTER/ROLE/ENV/NAME
  job kill [--open-browser] [--config=str] [--batch-size=value] [--max-total-failures=value]
[--no-batching] CLUSTER/ROLE/ENV/NAME[/INSTANCES] [--strict]
  job killall [--open-browser] [--config=str] [--batch-size=value] [--max-total-failures=value]
[--no-batching] CLUSTER/ROLE/ENV/NAME
  job diff [--bind=pystachio-binding] [--read-json] [--from=value] CLUSTER/ROLE/ENV/NAME str
  job open cluster[/role[/env[/job]]]
  job restart [--batch-size=value] [--bind=pystachio-binding] [--open-browser] [--force] [--healthcheck-interval-seconds=value]
[--read-json] [--watch-secs=value] [--max-per-instance-failures=value] [--restart-threshold=value]
[--max-total-failures=value] [--strict] [--no-rollback-on-failure] CLUSTER/ROLE/ENV/NAME[/INSTANCES]
str

==Commands for configs
  config list [--bind=pystachio-binding] str

==Commands for slas
  sla get-task-up-count [--durations=value] CLUSTER/ROLE/ENV/NAME
  sla get-job-uptime [--percentiles=value] CLUSTER/ROLE/ENV/NAME


Run 'help noun' or 'help noun verb' for help about a specific command
========== help for Aurora Client v1 ==========
Supported commands are: cancel_update, create, diff, get_quota, inspect, kill, list_jobs,
open, restart, run, ssh, start_cron, status, update, version

Run './dist/aurora2.pex help _command_' for help on a specific command


Thanks,

Mark Chu-Carroll


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