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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78d3b6f808a137827fc21be0dd57daab6ef08fe4b54d6c2b428dec93e5801baa
4
- data.tar.gz: 96e390ec3116a9cfd0ec844351ec0b9c86148f808ef9471a9bce37e95674c2b6
3
+ metadata.gz: 0773db6a41b7e78f7f734753127b8266598823377aaa8073aacca21111f09b36
4
+ data.tar.gz: 03e1732d086bd1542914e40b695f451ed68d441aaa8193dc3ff2ad4c52d2b4d9
5
5
  SHA512:
6
- metadata.gz: f9cfd202b19123a1c32b81995335f6947e40e204e50b588e9a059d508c495756de852f4cc3293f93590f14f1c9ad2a6c4978169d4a6e5a9dbd82c3d24f5e3478
7
- data.tar.gz: b690c54cd0657929a45fea1bd68fe2621ea8afe4eefcf1af86f09575b04e8c864e9bc2a0a98523820406e6c6319b567aea98bfeba459a397a9de29efee6065ab
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 whoami --teams
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.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Linear
5
- VERSION = '0.4.1'
5
+ VERSION = '0.4.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linear-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel