asimov-protocol-cli 25.0.0.dev.4

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.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/VERSION +1 -0
  3. data/bin/asimov-protocol +28 -0
  4. metadata +131 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 832280f1c372f7f6763e712aaf0dd4cad509c8d27c0598e72859bc5450e5e7f9
4
+ data.tar.gz: 924ac12a2103ca659fd735cfb0737765a69193b57dc0cf10afbf5a3c11a75478
5
+ SHA512:
6
+ metadata.gz: fc5409d18a95d134a74a9f62dfdbc7d78ffe99c5a1ead8f31a1c555bbb2c7af90c19da8facb800249878f30ca8927c0f3be19152d3fc861ea04046466c76f90b
7
+ data.tar.gz: 8145999d151b9d14850e416a61d003ee80ada81703d4cfee0eb2b22d15c91e985228fbc529c00c0e93f5833e03616dc36bdc9c8be47d327fb5e2780ca00a1be2
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 25.0.0.dev.4
@@ -0,0 +1,28 @@
1
+ #!/usr/bin/env ruby
2
+ require "bundler/setup"
3
+
4
+ require "asimov/config"
5
+ require "dry/cli"
6
+
7
+ trap(:SIGINT) { abort "" }
8
+
9
+ module ASIMOV::Protocol; end
10
+
11
+ module ASIMOV::Protocol::CLI
12
+ extend Dry::CLI::Registry
13
+
14
+ class Help < Dry::CLI::Command
15
+ desc "Print help"
16
+
17
+ argument :command, type: :string, desc: "Command"
18
+ option :format, type: :string, default: "text", aliases: %w(-o), values: %w(text json), desc: "Format"
19
+
20
+ def call(command: nil, format:, **)
21
+ # TODO
22
+ end
23
+ end # Help
24
+
25
+ register :help.to_s, Help, aliases: %w()
26
+ end # ASIMOV::Protocol::CLI
27
+
28
+ Dry::CLI.new(ASIMOV::Protocol::CLI).call
metadata ADDED
@@ -0,0 +1,131 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: asimov-protocol-cli
3
+ version: !ruby/object:Gem::Version
4
+ version: 25.0.0.dev.4
5
+ platform: ruby
6
+ authors:
7
+ - ASIMOV Protocol
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 2025-02-15 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: rake
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '13'
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '13'
26
+ - !ruby/object:Gem::Dependency
27
+ name: rspec
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '3.12'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '3.12'
40
+ - !ruby/object:Gem::Dependency
41
+ name: yard
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0.9'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0.9'
54
+ - !ruby/object:Gem::Dependency
55
+ name: asimov-config
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - '='
59
+ - !ruby/object:Gem::Version
60
+ version: 25.0.0.dev.4
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - '='
66
+ - !ruby/object:Gem::Version
67
+ version: 25.0.0.dev.4
68
+ - !ruby/object:Gem::Dependency
69
+ name: asimov-protocol
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '='
73
+ - !ruby/object:Gem::Version
74
+ version: 25.0.0.dev.4
75
+ type: :runtime
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - '='
80
+ - !ruby/object:Gem::Version
81
+ version: 25.0.0.dev.4
82
+ - !ruby/object:Gem::Dependency
83
+ name: dry-cli
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '1.2'
89
+ type: :runtime
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '1.2'
96
+ description: ''
97
+ email: support@asimov.so
98
+ executables:
99
+ - asimov-protocol
100
+ extensions: []
101
+ extra_rdoc_files: []
102
+ files:
103
+ - VERSION
104
+ - bin/asimov-protocol
105
+ homepage: https://cli.asimov.so
106
+ licenses:
107
+ - Unlicense
108
+ metadata:
109
+ bug_tracker_uri: https://github.com/asimov-platform/asimov-cli/issues
110
+ changelog_uri: https://github.com/asimov-platform/asimov-cli/blob/master/CHANGES.md
111
+ documentation_uri: https://github.com/asimov-platform/asimov-cli/blob/master/README.md
112
+ homepage_uri: https://cli.asimov.so
113
+ source_code_uri: https://github.com/asimov-platform/asimov-cli
114
+ rdoc_options: []
115
+ require_paths:
116
+ - lib
117
+ required_ruby_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '3.2'
122
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ requirements: []
128
+ rubygems_version: 3.6.2
129
+ specification_version: 4
130
+ summary: ASIMOV Command-Line Interface (CLI)
131
+ test_files: []