linear-cli 0.4.1 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.adoc +55 -1
- data/lib/linear/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d55afb114ac12e5b2ec711860c3830d2576519b6485af8c9561321df8ccf0201
|
4
|
+
data.tar.gz: 899b4a2284ee107e2be7573ce92ee79809f9c7893fb10ceac07ba1f84d9e9267
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03010bff016a35ed0de78a5db9a9b67768c30e5446553e7325005f6faf3f0364a6b4038ea58a0a0b908e1fe469ae4228334db286bc5d52776bf13c773e154f4
|
7
|
+
data.tar.gz: 20b2b981e54f8c4e67e76d8619f169f541eff43d958fb57f329146dd0086362fba813478db27623839127274405f46071d61074697c1823c9632885fcae9bccf
|
data/Readme.adoc
CHANGED
@@ -25,20 +25,74 @@ $ rake install
|
|
25
25
|
|
26
26
|
You must set the LINEAR_API_KEY environment variable to your Linear API key. You can find your API key at https://linear.app/settings/api.
|
27
27
|
|
28
|
+
==== Tab Completion
|
29
|
+
|
30
|
+
If you are using bash or zsh, you can enable tab completion by adding the following to your .bashrc or .zshrc:
|
31
|
+
|
32
|
+
Bash:
|
33
|
+
|
34
|
+
[source,sh]
|
35
|
+
----
|
36
|
+
eval "$(lc completion bash)"
|
37
|
+
----
|
38
|
+
|
39
|
+
Zsh:
|
40
|
+
|
41
|
+
[source,sh]
|
42
|
+
----
|
43
|
+
eval "$(lc completion zsh)"
|
44
|
+
----
|
45
|
+
|
28
46
|
=== Commands
|
29
47
|
|
48
|
+
=== Help
|
49
|
+
|
50
|
+
You can get help/usage for any command or subcommand by using the `--help` flag.
|
51
|
+
|
52
|
+
[source,sh]
|
53
|
+
----
|
54
|
+
$ lc
|
55
|
+
$ lc [COMMAND] --help
|
56
|
+
$ lc [COMMAND] [SUBCOMMAND] --help
|
57
|
+
----
|
58
|
+
|
30
59
|
==== Who Am I?
|
31
60
|
|
61
|
+
You can use the 'w' alias for 'whoami'
|
62
|
+
|
32
63
|
[source,sh]
|
33
64
|
----
|
34
65
|
$ lc whoami
|
35
|
-
$ lc
|
66
|
+
$ lc w --teams
|
36
67
|
----
|
37
68
|
|
38
69
|
==== List Issues
|
39
70
|
|
71
|
+
`lcls` is a helper provided to list issues. It's an alias for `lc issues list`.
|
72
|
+
|
40
73
|
[source,sh]
|
41
74
|
----
|
42
75
|
$ lcls
|
43
76
|
$ lcls --full
|
44
77
|
----
|
78
|
+
|
79
|
+
==== Assign one or more issues to yourself (take em!)
|
80
|
+
|
81
|
+
'i' is a shortcut for the 'issue' command
|
82
|
+
|
83
|
+
[source,sh]
|
84
|
+
----
|
85
|
+
$ lc i take CRY-1234
|
86
|
+
$ lc issue take CRY-456 CRY-789
|
87
|
+
----
|
88
|
+
|
89
|
+
==== Create an issue
|
90
|
+
|
91
|
+
'c' is a shortcut for the 'create' subcommand of the issue command
|
92
|
+
|
93
|
+
[source,sh]
|
94
|
+
----
|
95
|
+
$ lc i c --title "My new issue" --description "This is a new issue"
|
96
|
+
----
|
97
|
+
|
98
|
+
NOTE: If you don't provide a title or description, you will be prompted to enter them.
|
data/lib/linear/cli/version.rb
CHANGED