linear-cli 0.8.6 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab8ebfb7eabbfc9974cadc1255b77882b07a5b77b7311b7c28f32ab05cc6d36d
4
- data.tar.gz: 4a113e8634b37e1cce2a0eb8f42319dfbe17dcf799da754cbdc3070464101d82
3
+ metadata.gz: aa24cd1254fe2c0bc65f7eb7f72af3db8f90a9ad063490a1494212db24acb95e
4
+ data.tar.gz: 18184020027e3d061cb4c0080f16dc0caca227d59a29516071acfb9f33a8c5b2
5
5
  SHA512:
6
- metadata.gz: d6509b777cc1629deac09377df81239df88639480f28910bf84c84504f050a2536dffc2229438a8e6555dccab423410ed02cc7deb039caa7170fd5cb946ca63d
7
- data.tar.gz: 64b15071808806cd2358b50e3768f1297e0dd09ce461640c14266c5329e4d75e160042438e93700f999b4e78214256874a10ae33369dfc3394922f6077f95235
6
+ metadata.gz: f76b2b58a5e16871debfce914992b6cc83267fa75208f828c31fa1639e83e01652e33abad18ebdd2ca6f66ab37170a29066534aaddc6c1a7c25855258556a8ee
7
+ data.tar.gz: fb8c170846765e58120a7a2f43914e039321ba8ff493a7274d8142dfce19351dd111b7072a68abcef297ad05aae7e90cf7ec48e3a1953c819d4834ccf7250316
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.0] - 2024-02-06
6
+ ### Added
7
+ - Added version. Ready for 0.9.0, now test-test-test-test before 1.0 (@bougyman)
8
+
5
9
  ## [0.8.6] - 2024-02-06
6
10
  ### Fixed
7
11
  - Fixed completion for lc alias (@bougyman)
@@ -67,8 +71,9 @@
67
71
  ### Added
68
72
  - Added new changelog management system (changelog-rb) (@bougyman)
69
73
 
70
- [Unreleased]: https://github.com/rubyists/linear-cli/compare/0.8.6...HEAD
71
- [0.8.6]: https://github.com/rubyists/linear-cli/compare/v0.8.4...0.8.6
74
+ [Unreleased]: https://github.com/rubyists/linear-cli/compare/0.9.0...HEAD
75
+ [0.9.0]: https://github.com/rubyists/linear-cli/compare/v0.8.6...0.9.0
76
+ [0.8.6]: https://github.com/rubyists/linear-cli/compare/v0.8.4...v0.8.6
72
77
  [0.8.4]: https://github.com/rubyists/linear-cli/compare/v0.8.1...v0.8.4
73
78
  [0.8.1]: https://github.com/rubyists/linear-cli/compare/v0.8.0...v0.8.1
74
79
  [0.8.0]: https://github.com/rubyists/linear-cli/compare/v0.7.7...v0.8.0
data/Readme.adoc CHANGED
@@ -57,15 +57,21 @@ bash:
57
57
 
58
58
  [source,sh]
59
59
  ----
60
- eval "$(lc completion bash)"
60
+ eval "$(lc completion bash)" <1>
61
+ eval "$(lc completion -a bash)" <2>
61
62
  ----
63
+ <1> This will enable tab completion for the 'lc' command in bash
64
+ <2> This will include the subcommand aliases as well
62
65
 
63
66
  zsh:
64
67
 
65
68
  [source,sh]
66
69
  ----
67
- eval "$(lc completion zsh)"
70
+ eval "$(lc completion zsh)" <1>
71
+ eval "$(lc completion -a zsh)" <2>
68
72
  ----
73
+ <1> This will enable tab completion for the 'lc' command in zsh
74
+ <2> This will include the subcommand aliases as well
69
75
 
70
76
  === Commands
71
77
 
@@ -82,13 +88,16 @@ $ lc [COMMAND] [SUBCOMMAND] --help
82
88
 
83
89
  ==== Who Am I?
84
90
 
85
- You can use the 'w' alias for 'whoami'
91
+ You can use the 'w' alias for 'whoami' (or whodat, for Saints fans)
86
92
 
87
93
  [source,sh]
88
94
  ----
89
95
  $ lc whoami
90
- $ lc w --teams
96
+ $ lc whodat <1>
97
+ $ lc w --teams <2>
91
98
  ----
99
+ <1> Bayou style
100
+ <2> Include the teams you are a member of
92
101
 
93
102
  ==== List Issues
94
103
 
@@ -125,6 +134,8 @@ $ lc i c -t "My new issue" -T CRY -l Improvement,Feature
125
134
 
126
135
  NOTE: If you don't provide a title, team, labels or description, you will be prompted to enter them.
127
136
 
137
+ TIP: When creating an issue, you can use the --dev option to immediately start development on the issue.
138
+
128
139
  ==== Develop an issue
129
140
 
130
141
  This will switch to the branch for the issue, creating the branch if it doesn't exist.
@@ -136,7 +147,14 @@ This will switch to the branch for the issue, creating the branch if it doesn't
136
147
  $ lc i dev CRY-1234
137
148
  ----
138
149
 
139
- TIP: You may pass the --dev option to the create subcommand to immediately develop the created issue.
150
+ ===== Create a Pull Request (Using the Semantic PR Title)
151
+
152
+ Requires the `gh` cli to be installed and configured.
153
+
154
+ [source,sh]
155
+ ----
156
+ $ lc i pr CRY-1234
157
+ ----
140
158
 
141
159
  ==== Update an issue
142
160
 
@@ -148,12 +166,16 @@ at a time. You can also use the 'u' alias for 'update', and as always, the 'i' a
148
166
  [source,sh]
149
167
  ----
150
168
  $ lc issue update --comment "Here is a comment" CRY-1234 <1>
151
- $ lc issue update --comment - CRY-14 CRY-15 <2>
152
- $ lcomment CRY-1234 CRY-3 <3>
153
- ----
154
- <1> This will use the provided comment
155
- <2> This will prompt for a comment (use '-' to prompt)
156
- <3> This will always prompt you for a comment ('lcomment' is an alias for 'lc issue update --comment -')
169
+ $ lc issue u --close --reason "I do not like you" CRY-14 CRY-15 <2>
170
+ $ lc i u --cancel --trash --reason "I have no idea why you are here" CRY-16 CRY-17 <3>
171
+ $ lc i u --comment - CRY-14 CRY-15 <4>
172
+ $ lcomment CRY-1234 CRY-3 <5>
173
+ ----
174
+ <1> This will use the provided comment to comment on the issue
175
+ <2> This will close multiple issues without prompting (reason is added as a comment)
176
+ <3> This will cancel multiple issues without prompting, and move them to the trash (reason is added as a comment)
177
+ <4> This will prompt for a comment (use '-' to prompt)
178
+ <5> This will always prompt you for a comment ('lcomment' is an alias for 'lc issue update --comment -')
157
179
 
158
180
  ===== Close one or many issues
159
181
 
@@ -0,0 +1,4 @@
1
+ type: Added
2
+ title: >
3
+ Added version. Ready for 0.9.0, now test-test-test-test before 1.0
4
+ author: bougyman
@@ -0,0 +1 @@
1
+ date: 2024-02-06
data/exe/scripts/lc.sh CHANGED
@@ -9,13 +9,17 @@ then
9
9
  fi
10
10
  if [[ "$*" =~ --help|-h ]]
11
11
  then
12
- printf "Each subcommand has its own help, use 'lc <subcommand> --help' to see it\n" >&2
12
+ printf "Each subcommand has its own help, use 'lc <subcommand> --help' to see them\n" >&2
13
13
  linear-cli "$@" 2>&1|sed 's/linear-cli/lc/g'
14
14
  exit 0
15
15
  fi
16
16
  linear-cli "$@"
17
17
  result=$?
18
18
  if [ $result -gt 1 ]; then
19
+ if [ $result -eq 130 ]; then
20
+ printf "\n\nlc: linear-cli interrupted\n" >&2
21
+ exit 130
22
+ fi
19
23
  printf "lc: linear-cli failed %s\n" $result >&2
20
24
  lc "$@" --help 2>&1
21
25
  exit 1
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Linear
5
- VERSION = '0.8.6'
5
+ VERSION = '0.9.0'
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.8.6
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel
@@ -242,6 +242,8 @@ files:
242
242
  - changelog/0.8.4/tag.yml
243
243
  - changelog/0.8.6/fixed_completion_for_lc_alias.yml
244
244
  - changelog/0.8.6/tag.yml
245
+ - changelog/0.9.0/added_version_ready_for_0_9_0_now_test_test_test_test_before_1_0.yml
246
+ - changelog/0.9.0/tag.yml
245
247
  - changelog/unreleased/.gitkeep
246
248
  - cinemas/listings.cinema
247
249
  - cinemas/listings.cinema.gif