linear-cli 0.9.0 → 0.9.1

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: aa24cd1254fe2c0bc65f7eb7f72af3db8f90a9ad063490a1494212db24acb95e
4
- data.tar.gz: 18184020027e3d061cb4c0080f16dc0caca227d59a29516071acfb9f33a8c5b2
3
+ metadata.gz: f1cbd7a5da27f04067aa33ea976feceacb897b58872e88450e53e059aa4da61a
4
+ data.tar.gz: 47dcf32313f84de194e8faf27de087344700225975cd88cce079acaf13a5dc89
5
5
  SHA512:
6
- metadata.gz: f76b2b58a5e16871debfce914992b6cc83267fa75208f828c31fa1639e83e01652e33abad18ebdd2ca6f66ab37170a29066534aaddc6c1a7c25855258556a8ee
7
- data.tar.gz: fb8c170846765e58120a7a2f43914e039321ba8ff493a7274d8142dfce19351dd111b7072a68abcef297ad05aae7e90cf7ec48e3a1953c819d4834ccf7250316
6
+ metadata.gz: a2a0d491b9ff5e1af1b3f76ae500766c65f63866986394d824e22debf4a56a70c5f530009d271dc90d882df0a508801c5bbbfbf0ef1c20869812c63fc49257e8
7
+ data.tar.gz: de285eca24908a3c9ff7d227fb42d6ebbab5fd0be458490c9387a6fb8f4a5b11370cd8b1c281aae488924f888b608c698996a150d26691b4f3b64cbc20b69f2e
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.1] - 2024-02-06
6
+ ### Fixed
7
+ - Fixed wrapper to be more normal about help when listing leaf commands (@bougyman)
8
+
5
9
  ## [0.9.0] - 2024-02-06
6
10
  ### Added
7
11
  - Added version. Ready for 0.9.0, now test-test-test-test before 1.0 (@bougyman)
@@ -71,8 +75,9 @@
71
75
  ### Added
72
76
  - Added new changelog management system (changelog-rb) (@bougyman)
73
77
 
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
78
+ [Unreleased]: https://github.com/rubyists/linear-cli/compare/0.9.1...HEAD
79
+ [0.9.1]: https://github.com/rubyists/linear-cli/compare/v0.9.0...0.9.1
80
+ [0.9.0]: https://github.com/rubyists/linear-cli/compare/v0.8.6...v0.9.0
76
81
  [0.8.6]: https://github.com/rubyists/linear-cli/compare/v0.8.4...v0.8.6
77
82
  [0.8.4]: https://github.com/rubyists/linear-cli/compare/v0.8.1...v0.8.4
78
83
  [0.8.1]: https://github.com/rubyists/linear-cli/compare/v0.8.0...v0.8.1
@@ -0,0 +1,4 @@
1
+ type: Fixed
2
+ title: >
3
+ Fixed wrapper to be more normal about help when listing leaf commands
4
+ author: bougyman
@@ -0,0 +1 @@
1
+ date: 2024-02-06
data/exe/scripts/lc.sh CHANGED
@@ -9,8 +9,14 @@ 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 them\n" >&2
13
- linear-cli "$@" 2>&1|sed 's/linear-cli/lc/g'
12
+ output="$(linear-cli "$@" 2>&1|sed 's/linear-cli/lc/g')"
13
+ if [[ "$output" =~ ^Command: ]]
14
+ then
15
+ printf "%s\n" "$output"
16
+ else
17
+ printf "Each subcommand has its own help, use 'lc <subcommand> --help' to see them\n" >&2
18
+ printf "%s\n" "$output"
19
+ fi
14
20
  exit 0
15
21
  fi
16
22
  linear-cli "$@"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Linear
5
- VERSION = '0.9.0'
5
+ VERSION = '0.9.1'
6
6
  end
7
7
  end
@@ -16,13 +16,17 @@ module Rubyists
16
16
  include SemanticLogger::Loggable
17
17
  include Rubyists::Linear::CLI::CommonOptions
18
18
  include Rubyists::Linear::CLI::Issue # for #gimme_da_issue! and other Issue methods
19
- desc 'Create a new issue'
20
- option :title, type: :string, aliases: ['-t'], desc: 'Issue Title'
19
+ desc 'Create a new issue. If you do not pass any options, you will be prompted for the required information.'
21
20
  option :description, type: :string, aliases: ['-d'], desc: 'Issue Description'
22
- option :team, type: :string, aliases: ['-T'], desc: 'Team Identifier'
23
21
  option :labels, type: :array, aliases: ['-l'], desc: 'Labels for the issue (Comma separated list)'
24
22
  option :project, type: :string, aliases: ['-p'], desc: 'Project Identifier'
25
- option :develop, type: :boolean, aliases: ['-D', '--dev'], desc: 'Start development after creating the issue'
23
+ option :team, type: :string, aliases: ['-T'], desc: 'Team Identifier'
24
+ option :title, type: :string, aliases: ['-t'], desc: 'Issue Title'
25
+ option :develop,
26
+ type: :boolean,
27
+ default: false,
28
+ aliases: ['--dev'],
29
+ desc: 'Start development after creating the issue'
26
30
 
27
31
  def call(**options)
28
32
  logger.debug('Creating issue', options:)
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.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel
@@ -244,6 +244,8 @@ files:
244
244
  - changelog/0.8.6/tag.yml
245
245
  - changelog/0.9.0/added_version_ready_for_0_9_0_now_test_test_test_test_before_1_0.yml
246
246
  - changelog/0.9.0/tag.yml
247
+ - changelog/0.9.1/fixed_wrapper_to_be_more_normal_about_help_when_listing_leaf_commands.yml
248
+ - changelog/0.9.1/tag.yml
247
249
  - changelog/unreleased/.gitkeep
248
250
  - cinemas/listings.cinema
249
251
  - cinemas/listings.cinema.gif