├── .gitignore ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── .travis.yml ├── DEVELOPMENT ├── Gemfile ├── History.rdoc ├── LICENSE ├── Manifest ├── README.md ├── Rakefile ├── bin └── commander ├── commander.gemspec ├── lib ├── commander.rb └── commander │ ├── blank.rb │ ├── command.rb │ ├── configure.rb │ ├── core_ext.rb │ ├── core_ext │ ├── array.rb │ └── object.rb │ ├── delegates.rb │ ├── help_formatters.rb │ ├── help_formatters │ ├── base.rb │ ├── terminal.rb │ ├── terminal │ │ ├── command_help.erb │ │ └── help.erb │ ├── terminal_compact.rb │ └── terminal_compact │ │ ├── command_help.erb │ │ └── help.erb │ ├── import.rb │ ├── methods.rb │ ├── platform.rb │ ├── runner.rb │ ├── user_interaction.rb │ └── version.rb └── spec ├── command_spec.rb ├── configure_spec.rb ├── core_ext ├── array_spec.rb └── object_spec.rb ├── help_formatters ├── terminal_compact_spec.rb └── terminal_spec.rb ├── methods_spec.rb ├── runner_spec.rb ├── spec_helper.rb └── ui_spec.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/.travis.yml -------------------------------------------------------------------------------- /DEVELOPMENT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/DEVELOPMENT -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/Gemfile -------------------------------------------------------------------------------- /History.rdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/History.rdoc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/LICENSE -------------------------------------------------------------------------------- /Manifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/Manifest -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/commander: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/bin/commander -------------------------------------------------------------------------------- /commander.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/commander.gemspec -------------------------------------------------------------------------------- /lib/commander.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander.rb -------------------------------------------------------------------------------- /lib/commander/blank.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/blank.rb -------------------------------------------------------------------------------- /lib/commander/command.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/command.rb -------------------------------------------------------------------------------- /lib/commander/configure.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/configure.rb -------------------------------------------------------------------------------- /lib/commander/core_ext.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/core_ext.rb -------------------------------------------------------------------------------- /lib/commander/core_ext/array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/core_ext/array.rb -------------------------------------------------------------------------------- /lib/commander/core_ext/object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/core_ext/object.rb -------------------------------------------------------------------------------- /lib/commander/delegates.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/delegates.rb -------------------------------------------------------------------------------- /lib/commander/help_formatters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/help_formatters.rb -------------------------------------------------------------------------------- /lib/commander/help_formatters/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/help_formatters/base.rb -------------------------------------------------------------------------------- /lib/commander/help_formatters/terminal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/help_formatters/terminal.rb -------------------------------------------------------------------------------- /lib/commander/help_formatters/terminal/command_help.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/help_formatters/terminal/command_help.erb -------------------------------------------------------------------------------- /lib/commander/help_formatters/terminal/help.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/help_formatters/terminal/help.erb -------------------------------------------------------------------------------- /lib/commander/help_formatters/terminal_compact.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/help_formatters/terminal_compact.rb -------------------------------------------------------------------------------- /lib/commander/help_formatters/terminal_compact/command_help.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/help_formatters/terminal_compact/command_help.erb -------------------------------------------------------------------------------- /lib/commander/help_formatters/terminal_compact/help.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/help_formatters/terminal_compact/help.erb -------------------------------------------------------------------------------- /lib/commander/import.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/import.rb -------------------------------------------------------------------------------- /lib/commander/methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/methods.rb -------------------------------------------------------------------------------- /lib/commander/platform.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/platform.rb -------------------------------------------------------------------------------- /lib/commander/runner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/runner.rb -------------------------------------------------------------------------------- /lib/commander/user_interaction.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/lib/commander/user_interaction.rb -------------------------------------------------------------------------------- /lib/commander/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Commander 4 | VERSION = '5.0.0' 5 | end 6 | -------------------------------------------------------------------------------- /spec/command_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/command_spec.rb -------------------------------------------------------------------------------- /spec/configure_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/configure_spec.rb -------------------------------------------------------------------------------- /spec/core_ext/array_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/core_ext/array_spec.rb -------------------------------------------------------------------------------- /spec/core_ext/object_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/core_ext/object_spec.rb -------------------------------------------------------------------------------- /spec/help_formatters/terminal_compact_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/help_formatters/terminal_compact_spec.rb -------------------------------------------------------------------------------- /spec/help_formatters/terminal_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/help_formatters/terminal_spec.rb -------------------------------------------------------------------------------- /spec/methods_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/methods_spec.rb -------------------------------------------------------------------------------- /spec/runner_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/runner_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/ui_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/commander-rb/commander/HEAD/spec/ui_spec.rb --------------------------------------------------------------------------------