summaryrefslogtreecommitdiff
path: root/gitlab/cli.py
Commit message (Collapse)AuthorAgeFilesLines
* fix(cli): print help and usage without config filefix/help-usageMax Wittig2018-10-041-1/+5
| | | | Fixes #560
* silence logs/warnings in unittestsCyril Jouve2018-06-071-1/+2
|
* pep8 fixGauvain Pocentek2018-03-111-1/+2
|
* [cli] Restore the --help option behaviorGauvain Pocentek2018-03-111-3/+9
| | | | Fixes #381
* [cli] Allow to read args from filesGauvain Pocentek2018-03-051-1/+14
| | | | | | | With the @/file/path syntax (similar to curl) user can provide values from attributes in files. Fixes #448
* Add support for oauth and anonymous auth in config/CLIGauvain Pocentek2017-11-101-2/+3
|
* pep8 fixGauvain Pocentek2017-09-071-1/+1
|
* [v4] fix CLI for some mixin methodsGauvain Pocentek2017-09-071-10/+15
|
* CLI: yaml and json outputs for v4Gauvain Pocentek2017-08-181-4/+16
| | | | | | Verbose mode only works with the legacy output. Also add support for filtering the output by defining the list of fields that need to be displayed (yaml and json only).
* [v4] CLI support is backGauvain Pocentek2017-08-171-2/+39
|
* Refactor the CLIGauvain Pocentek2017-06-251-0/+105
| | | | | | | v3 and v4 CLI will be very different, so start moving things in their own folders. For now v4 isn't working at all.
* Add missing doc filesGauvain Pocentek2017-06-251-564/+0
|
* Remove unused future.division importGauvain Pocentek2017-06-111-1/+0
| | | | We don't do math.
* update copyright yearsGauvain Pocentek2017-05-241-1/+1
|
* Provide API wrapper for cherry picking commits (#236)Christian2017-03-211-1/+10
|
* [CLI] Fix wrong use of argumentsGauvain Pocentek2016-12-251-4/+4
| | | | | The previous change removed undefined arguments from the args dict, don't try to use possibly missing arguments without a fallback value.
* [CLI] ignore empty argumentsGauvain Pocentek2016-12-241-1/+4
| | | | | | | Gitlab 8.15 doesn't appreciate arguments with None as value. This breaks the python-gitlab CLI. Fixes #199
* CLI: add support for project all --allGauvain Pocentek2016-11-191-4/+13
| | | | | | Rework the extra opts definition to allow setting typed arguments. Fixes #153
* Add support for --all in CLIGauvain Pocentek2016-09-231-0/+2
| | | | Fixes #153
* CLI: refactor _die()Gauvain Pocentek2016-07-181-35/+36
|
* Fix pep8 testGauvain Pocentek2016-07-161-1/+2
|
* implement CLI for project archive/unarchive/shareGauvain Pocentek2016-07-161-1/+25
|
* Add support for project-issue moveGauvain Pocentek2016-06-191-1/+10
|
* Add support for build artifacts and traceissue-122Gauvain Pocentek2016-06-071-1/+17
| | | | Fixes #122
* project issue: doc and CLI for (un)subscribeGauvain Pocentek2016-05-281-0/+16
|
* Manage optional parameters for list() and get()Gauvain Pocentek2016-05-151-3/+13
| | | | | * List these elements in the API doc * Implement for License objects
* implement star/unstar for projectsGauvain Pocentek2016-05-131-1/+24
|
* MR: add support for closes_issuesGauvain Pocentek2016-03-221-0/+9
|
* MR: add support for cancel_merge_when_build_succeedsGauvain Pocentek2016-03-221-0/+8
|
* Add support for MergeRequest validationGauvain Pocentek2016-03-221-0/+20
| | | | | | Both API and CLI support this feature. fixes #105
* CI: implement user get-by-usernameGauvain Pocentek2016-02-141-2/+9
| | | | fixes #95
* CLI: fix discovery of method to executeGauvain Pocentek2016-02-141-0/+1
|
* Implement "user search" CLIGauvain Pocentek2016-02-121-1/+8
|
* Add some unit tests for CLIGauvain Pocentek2016-02-051-68/+77
| | | | Reorganize the cli.py code to ease the testing.
* Rework the CLI codeGauvain Pocentek2016-02-051-154/+177
| | | | Add support for more subcommands.
* CLI: fix {all,owned,search} project listingGauvain Pocentek2016-02-031-0/+3
|
* Fix project updateGauvain Pocentek2016-01-301-2/+2
|
* Rework the __version__ importGauvain Pocentek2016-01-301-0/+6
| | | | | | This simplifies the setup.py script Also provide a --version option for CLI
* Add sudo supportGauvain Pocentek2016-01-301-0/+1
|
* Implement project variables supportGauvain Pocentek2016-01-241-2/+2
|
* Support deletion without getting the object firstGauvain Pocentek2016-01-101-2/+2
| | | | Use this feature in the CLI to avoid an extra API call to the server.
* cli.py: make internal functions privateGauvain Pocentek2016-01-101-30/+30
|
* implement group search in CLIGauvain Pocentek2016-01-091-5/+18
|
* CLI: fix the discovery of possible actionsGauvain Pocentek2016-01-081-2/+1
|
* python3: fix CLI error when arguments are missingGauvain Pocentek2015-12-311-2/+6
|
* Provide a create method for GitlabObject'sGauvain Pocentek2015-12-311-2/+1
| | | | | | Instead of using the constructor to do everything (get, list and create), we now provide a class method for each action. This should make code easier to read.
* Add the CLI -g short option for --gitlabGauvain Pocentek2015-12-301-1/+1
|
* Add a get method for GitlabObjectGauvain Pocentek2015-12-301-2/+2
| | | | | | | This change provides a way to implement GET for objects that don't support it, but support LIST. It is also a first step to a cleaner API.
* Use name as sort key to fix Python 3 TypeErrorColin D Bennett2015-12-231-1/+2
| | | | | | | | | Sort types explicitly by name to fix unorderable types TypeError in Python 3. The call to sort() on cli.py line 259 produced the error: TypeError: unorderable types: type() < type()
* Fix GET/POST for project filesGauvain Pocentek2015-09-191-4/+5
|