Class: PF::BoxCommand
- Inherits:
-
CommandBase
- Object
- Thor
- CommandBase
- PF::BoxCommand
- Defined in:
- lib/pf/cli/box.rb
Constant Summary collapse
- @@myself =
"box"
Instance Method Summary collapse
Methods inherited from CommandBase
Instance Method Details
#push(filepath, folder = "/") ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/pf/cli/box.rb', line 13 def push(filepath, folder="/") if Profile.box().account().nil? puts "You haven't add any box accounts. Please add an box account before push" return end BoxAction.push(filepath, folder: folder) end |