hiiro 0.1.0

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.
data/script/compare ADDED
@@ -0,0 +1,14 @@
1
+ #!/bin/bash
2
+
3
+ diff_dirs() {
4
+ diff -qrs ~/bin/ bin/ | egrep '\bbin(: |\/)h(\b|-)' | egrep -v 'identical'
5
+
6
+ diff -qrs ~/.config/hiiro/plugins/ plugins/ | egrep -v 'identical'
7
+ }
8
+
9
+ # s@Only in \(bin|plugins\): \(.*\)@cp -v \1/\2 $HOME/\1/@;
10
+
11
+ diff_dirs | sed -E "s@Only in @@;s@: @/@;s@^(/.*(bin|plugins).*)@cp -v \\1 \\2/@;s@^(bin.*)@cp -v \\1 $HOME/bin/@;s@^(plugins.*)@cp -v \\1 $HOME/.config/hiiro/plugins/@;s@Files (.*) and (.*) differ@vim -d \\1 \\2@" | egrep 'cp -'
12
+
13
+ diff_dirs | sed -E "s@Only in @@;s@: @/@;s@^(/.*(bin|plugins).*)@cp -v \\1 \\2/@;s@^(bin.*)@cp -v \\1 $HOME/bin/@;s@^(plugins.*)@cp -v \\1 $HOME/.config/hiiro/plugins/@;s@Files (.*) and (.*) differ@vim -d \\1 \\2@" | egrep -v 'cp -'
14
+
data/script/install ADDED
@@ -0,0 +1,16 @@
1
+ #!/bin/bash
2
+
3
+ function install_hiiro() {
4
+ echo -n "This is destructive, are you sure you want to continue? [Y/n] "
5
+ read confirmation
6
+
7
+ test $confirmation = "n" || test $confirmation = "N" && return 1
8
+
9
+ rsync -avz bin/ $HOME/bin/
10
+
11
+ mkdir -pv $HOME/.config/hiiro/plugins
12
+ rsync -avz plugins/ $HOME/.config/hiiro/plugins/
13
+ }
14
+
15
+ install_hiiro
16
+
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hiiro
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Joshua Toyota
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2026-01-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: pry
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.14'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.14'
27
+ description: Build multi-command CLI tools with subcommand dispatch, abbreviation
28
+ matching, and a plugin system. Similar to git or docker command structure.
29
+ email:
30
+ - jearsh+rubygems@gmail.com
31
+ executables:
32
+ - hiiro
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - ".config/.keep"
37
+ - CLAUDE.md
38
+ - LICENSE
39
+ - README.md
40
+ - Rakefile
41
+ - bin/h
42
+ - bin/h-buffer
43
+ - bin/h-pane
44
+ - bin/h-plugin
45
+ - bin/h-session
46
+ - bin/h-video
47
+ - bin/h-window
48
+ - docs/README.md
49
+ - docs/h-buffer.md
50
+ - docs/h-pane.md
51
+ - docs/h-plugin.md
52
+ - docs/h-session.md
53
+ - docs/h-video.md
54
+ - docs/h-window.md
55
+ - exe/hiiro
56
+ - hiiro.gemspec
57
+ - lib/hiiro.rb
58
+ - lib/hiiro/version.rb
59
+ - plugins/notify.rb
60
+ - plugins/pins.rb
61
+ - plugins/project.rb
62
+ - plugins/task.rb
63
+ - plugins/tmux.rb
64
+ - script/compare
65
+ - script/install
66
+ homepage: https://github.com/unixsuperhero/hiiro
67
+ licenses:
68
+ - MIT
69
+ metadata:
70
+ homepage_uri: https://github.com/unixsuperhero/hiiro
71
+ source_code_uri: https://github.com/unixsuperhero/hiiro
72
+ changelog_uri: https://github.com/unixsuperhero/hiiro/blob/main/CHANGELOG.md
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: 2.7.0
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubygems_version: 3.3.7
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: A lightweight CLI framework for Ruby
92
+ test_files: []