Pierre Roux
d3f2a8ba93
Add multiple statuses processed from the list cmd
...
This shortcut is handled using OR queries so that it respects
the original pagination and order of objects.
To achieve that, we had to remove the limitation of passing
identical query names to the params argument of the client
and to remove the related test.
2018-07-03 17:06:41 +00:00
AlanCoding
86eb1ee9d9
fix copy error with extra_vars
2017-10-11 09:32:24 -04:00
AlanCoding
ab089566a1
Merge branch 'v1' into merge_v1
2017-09-19 13:31:02 -04:00
AlanCoding
b4c16b21e6
allow for multiple inheritances with click methods
2017-08-24 09:22:20 -04:00
Aaron Tan
2a6b8ddf39
Implement instance/instance_group resources
2017-07-21 16:44:35 -04:00
Aaron Tan
dba969f93b
Migrate to API v2
2017-07-18 14:02:11 -04:00
Aaron Tan
c1c130d0d9
Spread util code files
2017-07-06 17:22:54 -04:00
Aaron Tan
72cf8d4a9d
Refactor to have cli directory.
2017-06-08 16:28:41 -04:00
Evgeni Golov
b8e4257e68
implement copying of resources as in the UI
2017-03-24 17:18:08 +01:00
AlanCoding
255f7ff9aa
add survey_spec tests
2017-03-08 13:29:21 -05:00
AlanCoding
51f5fbd5ae
short flag feature
2016-08-03 15:11:23 -04:00
Aaron Tan
64ac3f1fec
Establish basic archetecture for resource label and modify behavior of get_command
2016-07-18 13:56:20 -04:00
Aaron Tan
bc7bdfe1f8
Solve issue #156
2016-06-24 14:53:36 -04:00
Aaron Tan
0e6f788001
Add instance-fliter and YAML support
2016-06-07 16:56:21 -04:00
Alan R
d212b497c2
null field tests
2016-05-02 22:40:12 -04:00
AlanCoding
ad4a4d7b30
protect against the special page 1 alias
2016-03-17 10:34:34 -04:00
AlanCoding
830728d2e6
Travis, tox, and primary editing for compliance to resolve #58
2015-09-28 14:35:37 -04:00
James Laska
f683da903a
Happy 2015!
2015-06-10 21:41:57 -04:00
Luke Sneeringer
7bf89df48e
Colorless option.
...
Fixes #18
2015-01-08 13:20:41 -06:00
Luke Sneeringer
631e4c57db
Ability to update projects through tower-cli.
...
Fixes #20 .
2015-01-07 15:18:38 -06:00
Luke Sneeringer
e06fcc6d0e
Moved the monitor method to an abstract class.
2015-01-06 14:49:34 -06:00
Luke Sneeringer
80a0511956
Added a --root option to tower-cli group list.
2014-07-30 14:46:36 -05:00
Luke Sneeringer
7c37d8eb8e
More debug logging!
2014-07-15 10:30:28 -05:00
Luke Sneeringer
cbeb14de11
Make string replacement for -y resources correct.
2014-07-15 08:51:37 -05:00
Luke Sneeringer
8770346a81
Fixed a bug with job monitor output.
2014-07-14 13:19:48 -05:00
Luke Sneeringer
7208bd90f3
Make the error for getting a bad subcommand nicer.
2014-07-14 11:26:35 -05:00
Luke Sneeringer
9e7f22378f
Adding pagination to human view.
2014-07-14 10:22:37 -05:00
Luke Sneeringer
296860668d
--query option on list.
...
This commit adds a `--query` parameter on the list resource verb,
allowing for arbitrary GET strings (effectively) to be sent to the
Tower API.
2014-07-11 09:16:58 -05:00
Luke Sneeringer
2befd0a683
Ability to get all pages from tower_cli {resource} list.
...
This commit adds the ability to send `-a` or `--all-pages` to
`tower_cli {resource} list`, and it sends back all pages the API sends
down, if there is more than one page.
2014-07-10 12:59:08 -05:00
Luke Sneeringer
9eb646d31a
Substantial Tower CLI update.
...
This commit:
- Rehashes settings entirely, making it more system aware and
unifying it in multiple objects to account for the need for writes
later.
- Rehashes the API object, making it a much smaller class, wrapping
`requests`.
- Adds a pluggable architecture for resources and commands, built
on top of `click`.
- Adds resources for most major objects in Tower, allowing for CRUD actions.
- Adds job monitoring and cancelation.
2014-07-10 11:45:58 -05:00