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 +4 -4
- data/exe/scripts/lc.sh +4 -1
- data/exe/scripts/lclose.sh +2 -2
- data/exe/scripts/lcreate.sh +1 -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: 75ce37ab15aa10df291b3d4f0be968cb0dd4dda493500344f624d6661bd69ef0
|
4
|
+
data.tar.gz: 3a81df1dae83cf68b1a36d2da40d92e124c83de422be451734d7205ca9150ef9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 -
|
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
|
data/exe/scripts/lclose.sh
CHANGED
@@ -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
|
7
|
+
exec lc issue update --close --help
|
8
8
|
fi
|
9
|
-
exec
|
9
|
+
exec lc issue update --close "$@"
|
data/exe/scripts/lcreate.sh
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
#!/usr/bin/env bash
|
2
|
-
exec
|
2
|
+
exec lc issue create "$@"
|
data/lib/linear/cli/version.rb
CHANGED