hiiro 0.1.275 → 0.1.276

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: de15e42b4ef41a39549df14ac619a8fa60d4503fe112838c760ed94565d78426
4
- data.tar.gz: 0c1886d398a5f233c2ac4c22c1b8ce25ce231ee4005879507662156fe735e532
3
+ metadata.gz: dbb35ade8607567d50414b9afd843402eb78317a3c3c2354a3361e582050850d
4
+ data.tar.gz: d2f02c76fc3121282ab489c7e997b3b54e60ab8f8103e7a1f7fb69ccdd65313b
5
5
  SHA512:
6
- metadata.gz: 7be251d320a685f50cd0ba442fccaff2559c1cfeee2ded2fce185d54b21d3bc8953aa0b73a2c577e3c38c01b1a03317c54f3573922261383f55f067e813096b8
7
- data.tar.gz: 0b75738d860076700cad4d0e9b7df3cb7c661f1ef47e7d4ba71e48b6c9e10a40699d46efa6ac2af8b889d0a7e3df3432a2528cc3ef45834ce2d01b75f7b8ce07
6
+ metadata.gz: 69a8cf3d7cdf9cac920e4c9c7ab671931918f58e6b83bf431eeff7548729cda101466b00d8e04eb2697ce9048511e9af48580ab5983eccf5b953547e308868aa
7
+ data.tar.gz: c8a03d151fdd60e32325f00f5a93b3cca71297eb215cd22f059db913325cbfef9fde163b368bfc0fd7f7e109a929ff2752c8a82653192c07f7fc965741a9b5b6
data/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- Done. CHANGELOG.md updated with v0.1.275 entry at the top, dated 2026-03-24, with the `h-pr sync` subcommand addition.
1
+ Done. CHANGELOG.md updated with v0.1.276 entry at the top.
data/bin/h-app CHANGED
@@ -43,6 +43,7 @@ def send_cd(path)
43
43
  end
44
44
  end
45
45
 
46
+
46
47
  Hiiro.run(*ARGV) {
47
48
  add_subcmd(:config) {
48
49
  edit_files(APPS_FILE)
@@ -202,6 +203,54 @@ Hiiro.run(*ARGV) {
202
203
  puts "Removed app '#{app_name}' (was: #{removed_path})"
203
204
  }
204
205
 
206
+ add_subcmd(:fd) { |app_name=nil, *args|
207
+ root = git.root || task_root
208
+ unless root
209
+ puts "Not in a git repo or task - cannot resolve path"
210
+ next
211
+ end
212
+ result = environment.app_matcher.find(app_name.to_s)
213
+ unless result.match?
214
+ puts "App '#{app_name}' not found"
215
+ next
216
+ end
217
+ app_path = File.join(root, result.first.item.relative_path)
218
+ Dir.chdir(app_path)
219
+ exec('fd', *args)
220
+ }
221
+
222
+ add_subcmd(:rg) { |app_name=nil, *args|
223
+ root = git.root || task_root
224
+ unless root
225
+ puts "Not in a git repo or task - cannot resolve path"
226
+ next
227
+ end
228
+ result = environment.app_matcher.find(app_name.to_s)
229
+ unless result.match?
230
+ puts "App '#{app_name}' not found"
231
+ next
232
+ end
233
+ app_path = File.join(root, result.first.item.relative_path)
234
+ Dir.chdir(app_path)
235
+ exec('rg', *args)
236
+ }
237
+
238
+ add_subcmd(:vim) { |app_name=nil, *args|
239
+ root = git.root || task_root
240
+ unless root
241
+ puts "Not in a git repo or task - cannot resolve path"
242
+ next
243
+ end
244
+ result = environment.app_matcher.find(app_name.to_s)
245
+ unless result.match?
246
+ puts "App '#{app_name}' not found"
247
+ next
248
+ end
249
+ app_path = File.join(root, result.first.item.relative_path)
250
+ Dir.chdir(app_path)
251
+ exec('vim', *args)
252
+ }
253
+
205
254
  add_subcmd(:service) do |*svc_args|
206
255
  sm = Hiiro::ServiceManager.new
207
256
  Hiiro::ServiceManager.build_hiiro(this, sm).run
data/lib/hiiro/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Hiiro
2
- VERSION = "0.1.275"
2
+ VERSION = "0.1.276"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiiro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.275
4
+ version: 0.1.276
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Toyota