Module: BoxCli
- Defined in:
- lib/box_cli.rb,
lib/box_cli/command.rb,
lib/box_cli/version.rb,
lib/box_cli/wrapper.rb,
lib/box_cli/terminal.rb,
lib/box_cli/displayer.rb,
lib/box_cli/box_command.rb,
lib/box_cli/info_command.rb,
lib/box_cli/delete_command.rb,
lib/box_cli/hash_to_pretty.rb,
lib/box_cli/upload_command.rb,
lib/box_cli/settings_command.rb,
lib/box_cli/auth_token_manager.rb,
lib/box_cli/account_info_command.rb,
lib/box_cli/create_folder_command.rb
Defined Under Namespace
Modules: HashToPretty Classes: AccountInfoCommand, AuthTokenManager, BoxCommand, Command, CreateFolderCommand, DeleteCommand, Displayer, Exception, FileNameTaken, FolderNameTaken, InfoCommand, NotAuthorized, NotFound, SettingsCommand, Terminal, UploadCommand, Wrapper
Constant Summary collapse
- VERSION =
'0.1.1'
Class Method Summary collapse
Class Method Details
.dispatch(name, options, args) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/box_cli.rb', line 20 def self.dispatch(name, , args) "BoxCli::#{name.camelize}Command".constantize.new(, args).call 0 rescue Exception => e puts "#{e.}" 1 end |