Class: Takelage::BitClipboard

Overview

takelage bit clipboard

Instance Method Summary collapse

Methods included from BitClipboardPush

#bit_clipboard_push

Methods included from BitClipboardPull

#bit_clipboard_pull

Methods included from BitClipboardPaste

#bit_clipboard_paste

Methods included from BitClipboardCopy

#bit_clipboard_copy

Methods included from BitCheckWorkspace

#bit_check_workspace

Methods included from GitCheckWorkspace

#git_check_workspace

Methods included from GitCheckMain

#git_check_main

Methods included from GitCheckClean

#git_check_clean

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

#initialize_logging, #log

Methods inherited from SubCommandBase

banner, subcommand_prefix

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

#pullObject

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

#pushObject

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