Sha256: aea239345ff1d79cb840e4deae0fc0004994b7c1b879a481a25c59a7e05308bf
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
#!/usr/bin/env ruby require 'mcli' require 'juans_world' require 'juans_world/commands/app.rb' class Juan< MCLI::Command register_as_root def run help end def help puts <<~HERE Welcome to Juan's world! Verion: #{JuansWorld::VERSION} Available Commands: #{list_commands} HERE end private def list_commands MCLI::CommandGroup.commands.map do |name, klass| " #{name}: #{klass.description}" end.join("\n") rescue => e puts e.inspect end end MCLI.run
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
juans_world-0.1.0 | exe/juan |