Class: PF::BoxCommand

Inherits:
CommandBase show all
Defined in:
lib/pf/cli/box.rb

Constant Summary collapse

@@myself =
"box"

Instance Method Summary collapse

Methods inherited from CommandBase

banner

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().().nil?
    puts "You haven't add any box accounts. Please add an box account before push"
    return
  end

  BoxAction.push(filepath, folder: folder)
end