class FallCli::CLI
Public Instance Methods
browser()
click to toggle source
# File lib/fallcli/cli.rb, line 33 def browser Middleware.sequence_browser.call({}) end
get_keys()
click to toggle source
# File lib/fallcli/cli.rb, line 51 def get_keys say "Please open this URL from your Browser, and login: https://www.dropbox.com/developers/apps" say "Click \"Create app\" button, and choose the following options:" say "Type: Dropbox API app" say "Data: Files and Datastores" say "Permission type: Full Dropbox" say "File Types: All file types" say "App name: FallCli#{Time.now.to_i}" say "Cick on the \"Create\" button, and note down the 'app key' and 'app secret'" end
help(meth=nil)
click to toggle source
Calls superclass method
# File lib/fallcli/cli.rb, line 16 def help(meth=nil) super if !meth say "To learn more or to contribute, please see github.com/petems/fallcli" end end
uploader_browser()
click to toggle source
# File lib/fallcli/cli.rb, line 40 def uploader_browser Middleware.sequence_upload_browser.call({}) end
verify()
click to toggle source
# File lib/fallcli/cli.rb, line 46 def verify Middleware.sequence_verify.call({}) end
version()
click to toggle source
# File lib/fallcli/cli.rb, line 63 def version say "FallCli #{FallCli::VERSION}" end