-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathusage.txt
34 lines (30 loc) · 1.83 KB
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Usage: gitlab Action [Resource] [Options]
Resource:
Is the relative url to the ressource.
Examples:
foo/bar/issue for issues in the namespace 'foo' and the project 'bar'
foo/bar/issue/12 for issue with id 12 in namespace 'foo' and the project 'bar'
Actions:
get RESOURCE Gets resource
list RESOURCE Lists resource
create RESOURCE Creates resource
remove RESOURCE Deletes resource
update RESOURCE Updates existing resource
close RESOURCE Closes an issue
open RESOURCE Opens an issue
comment RESOURCE Comments an issue
alias RESOURCE ALIAS Create a resource alias to prevent retyping long resource paths
rm-alias ALIAS Removes an existing alias
list-aliases Lists all aliases
Options:
-h --help Display this help
-m 'MESSAGE' Adds a message (first line will be treated as title other lines as body)
-u --user USERNAME User to assign the issue to, default is "me" (use "me" to assign to user defined in environment)
-l --labels tag1,tag2 Comma separated list of labels
-f --filters key=value,... Filter results by comma separated list of key=value pairs. Results must match these key=value pairs.
--json Output all data as JSON
--data key=value,... Set data by comma separated list of key=value pairs.
--data-json JSON Set data using a JSON string. If "data" is also set, it will overwrite existing keys.
--accept-certs If present all SSL certificates (including self-signed) will be accepted
--config=path/to/config.js Set path to configuration file to use. If not set it will look for the file in ~/.config/gitlab-cli/default.js
--debug If present will display debug information