Class: Bcli::Commands::Drive
- Inherits:
-
Thor
- Object
- Thor
- Bcli::Commands::Drive
- Defined in:
- lib/bcli/commands/drive.rb,
lib/bcli/commands/drive/search.rb,
lib/bcli/commands/drive/upload.rb
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#search ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/bcli/commands/drive.rb', line 13 def search if [:help] invoke :help, ["search"] else require_relative "drive/search" Bcli::Commands::Drive::Search.new().execute end end |
#upload ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/bcli/commands/drive.rb', line 25 def upload if [:help] invoke :help, ["upload"] else require_relative "drive/upload" Bcli::Commands::Drive::Upload.new().execute end end |