class Cipherpipe::CLI
Public Class Methods
call(arguments = [], configuration = nil)
click to toggle source
# File lib/cipherpipe/cli.rb, line 2 def self.call(arguments = [], configuration = nil) case arguments.first when "upload" Cipherpipe::Commands::Upload.call configuration when "download" Cipherpipe::Commands::Download.call configuration when "ec2" Cipherpipe::Commands::EC2.call configuration else Cipherpipe::Commands::Help.call configuration end end