lhj-tools 0.1.5 → 0.1.9
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/lib/lhj/action/sh_helper.rb +138 -0
- data/lib/lhj/command/config/info.rb +47 -0
- data/lib/lhj/command/config.rb +11 -0
- data/lib/lhj/command/file_path.rb +20 -0
- data/lib/lhj/command/head_import.rb +19 -3
- data/lib/lhj/command/http.rb +14 -0
- data/lib/lhj/command/init.rb +4 -4
- data/lib/lhj/command/local/fetch.rb +1 -1
- data/lib/lhj/command/local/filter.rb +1 -1
- data/lib/lhj/command/local/local.rb +1 -1
- data/lib/lhj/command/local/local_upload.rb +1 -1
- data/lib/lhj/command/local/micro_service.rb +1 -1
- data/lib/lhj/command/oss/del.rb +18 -5
- data/lib/lhj/command/oss/list.rb +1 -1
- data/lib/lhj/command/oss/upload.rb +7 -3
- data/lib/lhj/command/refactor_rename.rb +1 -1
- data/lib/lhj/command/rename_image.rb +1 -1
- data/lib/lhj/command/sync_pod_repo.rb +149 -0
- data/lib/lhj/command/trans.rb +1 -1
- data/lib/lhj/command/yapi.rb +15 -14
- data/lib/lhj/command.rb +25 -6
- data/lib/lhj/tools/version.rb +1 -1
- data/lib/lhj/tools.rb +1 -0
- data/lib/lhj/tree/hash_walker.rb +1 -1
- data/lib/lhj/tree/path_walker.rb +1 -2
- data/lib/lhj/tree/tree.rb +5 -5
- data/lib/lhj/ui/errors/lhj_common_error.rb +19 -0
- data/lib/lhj/ui/errors/lhj_crash.rb +11 -0
- data/lib/lhj/ui/errors/lhj_error.rb +25 -0
- data/lib/lhj/ui/errors/lhj_exception.rb +19 -0
- data/lib/lhj/ui/errors/lhj_shell_error.rb +11 -0
- data/lib/lhj/ui/errors.rb +1 -0
- data/lib/lhj/ui/implementations/shell.rb +148 -0
- data/lib/lhj/ui/interface.rb +205 -0
- data/lib/lhj/ui/ui.rb +26 -0
- metadata +51 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lhj-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lihaijian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: claide
|
@@ -138,6 +138,40 @@ dependencies:
|
|
138
138
|
- - "<"
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: 1.0.0
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: colored
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
type: :runtime
|
149
|
+
prerelease: false
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: excon
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: 0.71.0
|
162
|
+
- - "<"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 1.0.0
|
165
|
+
type: :runtime
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: 0.71.0
|
172
|
+
- - "<"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 1.0.0
|
141
175
|
- !ruby/object:Gem::Dependency
|
142
176
|
name: faraday-cookie_jar
|
143
177
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,8 +272,13 @@ extra_rdoc_files: []
|
|
238
272
|
files:
|
239
273
|
- README.md
|
240
274
|
- bin/lhj
|
275
|
+
- lib/lhj/action/sh_helper.rb
|
241
276
|
- lib/lhj/command.rb
|
277
|
+
- lib/lhj/command/config.rb
|
278
|
+
- lib/lhj/command/config/info.rb
|
279
|
+
- lib/lhj/command/file_path.rb
|
242
280
|
- lib/lhj/command/head_import.rb
|
281
|
+
- lib/lhj/command/http.rb
|
243
282
|
- lib/lhj/command/init.rb
|
244
283
|
- lib/lhj/command/local/fetch.rb
|
245
284
|
- lib/lhj/command/local/filter.rb
|
@@ -253,6 +292,7 @@ files:
|
|
253
292
|
- lib/lhj/command/refactor_rename.rb
|
254
293
|
- lib/lhj/command/rename_image.rb
|
255
294
|
- lib/lhj/command/reverse_import.rb
|
295
|
+
- lib/lhj/command/sync_pod_repo.rb
|
256
296
|
- lib/lhj/command/template.rb
|
257
297
|
- lib/lhj/command/trans.rb
|
258
298
|
- lib/lhj/command/view.rb
|
@@ -270,6 +310,15 @@ files:
|
|
270
310
|
- lib/lhj/tree/number_renderer.rb
|
271
311
|
- lib/lhj/tree/path_walker.rb
|
272
312
|
- lib/lhj/tree/tree.rb
|
313
|
+
- lib/lhj/ui/errors.rb
|
314
|
+
- lib/lhj/ui/errors/lhj_common_error.rb
|
315
|
+
- lib/lhj/ui/errors/lhj_crash.rb
|
316
|
+
- lib/lhj/ui/errors/lhj_error.rb
|
317
|
+
- lib/lhj/ui/errors/lhj_exception.rb
|
318
|
+
- lib/lhj/ui/errors/lhj_shell_error.rb
|
319
|
+
- lib/lhj/ui/implementations/shell.rb
|
320
|
+
- lib/lhj/ui/interface.rb
|
321
|
+
- lib/lhj/ui/ui.rb
|
273
322
|
homepage:
|
274
323
|
licenses:
|
275
324
|
- MIT
|