linear-cli 0.4.1 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: 0773db6a41b7e78f7f734753127b8266598823377aaa8073aacca21111f09b36
|
4
|
+
data.tar.gz: 03e1732d086bd1542914e40b695f451ed68d441aaa8193dc3ff2ad4c52d2b4d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2d6f1a8a7440c674c3b8885d8f957e35fba0ac56ad05b430ed074f25ba50f0753b0accdaa135a755a56b285a4f2fe263b10c5b42c1815395466579dcce51e70
|
7
|
+
data.tar.gz: 5b1fc1f6cb3a8ecd98fca5c395b0548da46c6472a6fb8d63456404f8b3ad1c246ed923fbe8ce1640270d81ecf819f97994246042a0cd4e48f9c57a702a262fed
|
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