Class: Takelage::BitClipboard
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Takelage::BitClipboard
- Includes:
- BitCheckWorkspace, BitClipboardCopy, BitClipboardLib, BitClipboardPaste, BitClipboardPull, BitClipboardPush, ConfigModule, GitCheckClean, GitCheckMain, GitCheckWorkspace, LoggingModule, SystemModule
- Defined in:
- lib/takelage/bit/clipboard/cli.rb
Overview
takelage bit clipboard
Instance Method Summary collapse
-
#copy(dir_or_file, scope) ⇒ Object
Copy a file or directory as a bit component to a bit remote scope.
-
#paste(cid, dir) ⇒ Object
Paste a bit component into a directory.
-
#pull ⇒ Object
Pull all updates for bit components from bit remote scopes.
-
#push ⇒ Object
Push all updates of bit components to bit remote scopes.
Methods included from BitClipboardPush
Methods included from BitClipboardPull
Methods included from BitClipboardPaste
Methods included from BitClipboardCopy
Methods included from BitCheckWorkspace
Methods included from GitCheckWorkspace
Methods included from GitCheckMain
Methods included from GitCheckClean
Methods included from SystemModule
#hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_exit, #run_and_fork, #try
Methods included from ConfigModule
#config, #configured?, #initialize_config
Methods included from LoggingModule
Methods inherited from SubCommandBase
Instance Method Details
#copy(dir_or_file, scope) ⇒ Object
Copy a file or directory as a bit component to a bit remote scope.
33 34 35 |
# File 'lib/takelage/bit/clipboard/cli.rb', line 33 def copy(dir_or_file, scope) exit bit_clipboard_copy dir_or_file, scope end |
#paste(cid, dir) ⇒ Object
Paste a bit component into a directory.
45 46 47 |
# File 'lib/takelage/bit/clipboard/cli.rb', line 45 def paste(cid, dir) exit bit_clipboard_paste cid, dir end |
#pull ⇒ Object
Pull all updates for bit components from bit remote scopes.
57 58 59 |
# File 'lib/takelage/bit/clipboard/cli.rb', line 57 def pull exit bit_clipboard_pull end |
#push ⇒ Object
Push all updates of bit components to bit remote scopes.
69 70 71 |
# File 'lib/takelage/bit/clipboard/cli.rb', line 69 def push exit bit_clipboard_push end |