linear-cli 0.9.1 → 0.9.2

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: f1cbd7a5da27f04067aa33ea976feceacb897b58872e88450e53e059aa4da61a
4
- data.tar.gz: 47dcf32313f84de194e8faf27de087344700225975cd88cce079acaf13a5dc89
3
+ metadata.gz: 75ce37ab15aa10df291b3d4f0be968cb0dd4dda493500344f624d6661bd69ef0
4
+ data.tar.gz: 3a81df1dae83cf68b1a36d2da40d92e124c83de422be451734d7205ca9150ef9
5
5
  SHA512:
6
- metadata.gz: a2a0d491b9ff5e1af1b3f76ae500766c65f63866986394d824e22debf4a56a70c5f530009d271dc90d882df0a508801c5bbbfbf0ef1c20869812c63fc49257e8
7
- data.tar.gz: de285eca24908a3c9ff7d227fb42d6ebbab5fd0be458490c9387a6fb8f4a5b11370cd8b1c281aae488924f888b608c698996a150d26691b4f3b64cbc20b69f2e
6
+ metadata.gz: 6f39181677f3db9870c58d35a8aea9c1f0cd28d4db8dab8bcfdea879cc4fa3f30a87913cc3b1b540874dc7c944929833b6204628a78c737162fafbb46db2aa2c
7
+ data.tar.gz: 3f5c77b697562de79d80a305e7216ac3c588fdfad29aec2d570125c06c92b55470f0cff2a1c4916ad48f80fa84c5f198b1341c9e248ef9a3d7364bb2d4d08a2b
data/exe/scripts/lc.sh CHANGED
@@ -21,7 +21,10 @@ then
21
21
  fi
22
22
  linear-cli "$@"
23
23
  result=$?
24
- if [ $result -gt 1 ]; then
24
+ if [ $result -eq 1 ]; then
25
+ printf "\nlc: You may pass --help for further information on any subcommand\n" >&2
26
+ exit 1
27
+ elif [ $result -gt 1 ]; then
25
28
  if [ $result -eq 130 ]; then
26
29
  printf "\n\nlc: linear-cli interrupted\n" >&2
27
30
  exit 130
@@ -4,6 +4,6 @@ then
4
4
  printf "This wrapper adds the --close option to the 'issue update' command.\n" >&2
5
5
  printf "It is used to close one or many issues. The issues are specified by their ID/slugs.\n" >&2
6
6
  printf "For closing multiple issues, you really want to pass --reason so you do not get prompted for each issue.\n\n" >&2
7
- exec linear-cli issue update --help
7
+ exec lc issue update --close --help
8
8
  fi
9
- exec linear-cli issue update --close "$@"
9
+ exec lc issue update --close "$@"
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env bash
2
- exec linear-cli issue create "$@"
2
+ exec lc issue create "$@"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Linear
5
- VERSION = '0.9.1'
5
+ VERSION = '0.9.2'
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.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel