A minimal Ruby CLI framework with command registration, interactive mode, and autocomplete.
./cli.rb --help # show commands
./cli.rb -i # interactive mode
./cli.rb namespace:command # run commandCreate files in commands/ that register commands:
CLI::Registry.register('myapp:greet', 'Say hello') do |name = 'World'|
puts "Hello, #{name}!"
endCommands are auto-loaded from commands/*.rb.