linear-cli 0.9.7 → 0.9.8

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: cf0bca808a6dea04bcbd0925b6ec7c3a1d4aecc684533f8c5a11b93a0db22621
4
- data.tar.gz: 6f049dfd9148913c6542e1198f3b6a3e55117dd233e3fad8579160ab24bb3643
3
+ metadata.gz: 206acc6e3f37ddfc4b71d7052d971d50911f74155c3b1e88354d281e05a16ea8
4
+ data.tar.gz: '092888c48a9784629c60dcf2461789cf7c8da49b9f90b4930d934823d29ce039'
5
5
  SHA512:
6
- metadata.gz: 3cb9542278055c8aab88f5ebe5fc559fb150aa731e4675f5c4a5a240d4c9d94d565726884a8e5d33c07c16730a40c5ff3cfc30fecf5bc3dbbe52ae0cc0486ab9
7
- data.tar.gz: 17fc8389d583b1e88206df3e4598b624332f1d913f7f47bafd3c79ae826919699b5d4407aa55169577fabea729254457d939d2fc0088ba81ab4e6820eafd9f1f
6
+ metadata.gz: 7968be38b37617ca245c41018abf729353e3604fa9f8ed5afaccea1177177215f066aa65e8963f6b079d7164a112241afa8a892b9c4b87035ce255beac9ed8cc
7
+ data.tar.gz: 1ff9e18663995a62f17622d0069426d62f495cd68c42dd81c3f76f7a86eb667e7ce79a8a0dcb7b7f841335026b2f427a3718c8d6601bf615428127961c5c54eb
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.8] - 2024-02-08
6
+ ### Added
7
+ - Added the console subcommand to get a pry console (@bougyman)
8
+
5
9
  ## [0.9.7] - 2024-02-08
6
10
  ### Added
7
11
  - Added the plc wrapper for container running, and ssh for git ops in the container (@bougyman)
@@ -92,8 +96,9 @@
92
96
  ### Added
93
97
  - Added new changelog management system (changelog-rb) (@bougyman)
94
98
 
95
- [Unreleased]: https://github.com/rubyists/linear-cli/compare/0.9.7...HEAD
96
- [0.9.7]: https://github.com/rubyists/linear-cli/compare/v0.9.5...0.9.7
99
+ [Unreleased]: https://github.com/rubyists/linear-cli/compare/0.9.8...HEAD
100
+ [0.9.8]: https://github.com/rubyists/linear-cli/compare/v0.9.7...0.9.8
101
+ [0.9.7]: https://github.com/rubyists/linear-cli/compare/v0.9.5...v0.9.7
97
102
  [0.9.5]: https://github.com/rubyists/linear-cli/compare/v0.9.4...v0.9.5
98
103
  [0.9.4]: https://github.com/rubyists/linear-cli/compare/v0.9.3...v0.9.4
99
104
  [0.9.3]: https://github.com/rubyists/linear-cli/compare/v0.9.1...v0.9.3
@@ -0,0 +1,4 @@
1
+ type: Added
2
+ title: >
3
+ Added the console subcommand to get a pry console
4
+ author: bougyman
@@ -0,0 +1 @@
1
+ date: 2024-02-08
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Linear
5
- VERSION = '0.9.7'
5
+ VERSION = '0.9.8'
6
6
  end
7
7
  end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'semantic_logger'
4
+ require 'pry'
5
+
6
+ module Rubyists
7
+ # Namespace for Linear
8
+ module Linear
9
+ # Namespace for CLI
10
+ module CLI
11
+ Console = Class.new Dry::CLI::Command
12
+ # The Console command
13
+ class Console
14
+ include SemanticLogger::Loggable
15
+ include Rubyists::Linear::CLI::CommonOptions
16
+
17
+ desc 'Open a console session'
18
+
19
+ def call(**)
20
+ Dir.mktmpdir('.linear-cli-console') do |dir|
21
+ Rubyists::Linear.tmpdir = dir
22
+ Rubyists::Linear.pry
23
+ end
24
+ end
25
+
26
+ prepend Rubyists::Linear::CLI::Caller
27
+ end
28
+ register 'console', Console, aliases: %w[pry]
29
+ end
30
+ end
31
+ 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.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel
@@ -255,6 +255,8 @@ files:
255
255
  - changelog/0.9.5/tag.yml
256
256
  - changelog/0.9.7/added_the_plc_wrapper_for_container_running_and_ssh_for_git_ops_in_the_container.yml
257
257
  - changelog/0.9.7/tag.yml
258
+ - changelog/0.9.8/added_the_console_subcommand_to_get_a_pry_console.yml
259
+ - changelog/0.9.8/tag.yml
258
260
  - changelog/unreleased/.gitkeep
259
261
  - cinemas/listings.cinema
260
262
  - cinemas/listings.cinema.gif
@@ -278,6 +280,7 @@ files:
278
280
  - lib/linear/cli/version.rb
279
281
  - lib/linear/cli/watcher.rb
280
282
  - lib/linear/cli/what_for.rb
283
+ - lib/linear/commands/console.rb
281
284
  - lib/linear/commands/issue.rb
282
285
  - lib/linear/commands/issue/create.rb
283
286
  - lib/linear/commands/issue/develop.rb