Class: DropboxFolderSync::CLI
- Inherits:
-
Thor
- Object
- Thor
- DropboxFolderSync::CLI
- Defined in:
- lib/dropbox-folder-sync/cli.rb
Instance Method Summary collapse
- #json(name = "default") ⇒ Object
- #login(name = "default") ⇒ Object
- #logout(name = "default") ⇒ Object
- #sync(remote, local) ⇒ Object
Instance Method Details
#json(name = "default") ⇒ Object
25 26 27 |
# File 'lib/dropbox-folder-sync/cli.rb', line 25 def json name = "default" DropboxFolderSync::App.json name end |
#login(name = "default") ⇒ Object
9 10 11 |
# File 'lib/dropbox-folder-sync/cli.rb', line 9 def login name="default" DropboxFolderSync::App.login(name) end |
#logout(name = "default") ⇒ Object
14 15 16 |
# File 'lib/dropbox-folder-sync/cli.rb', line 14 def logout name="default" DropboxFolderSync::App.logout(name) end |
#sync(remote, local) ⇒ Object
20 21 22 |
# File 'lib/dropbox-folder-sync/cli.rb', line 20 def sync remote,local DropboxFolderSync::App.sync(remote,local,) end |