Class: Takeltau::Hg
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Takeltau::Hg
- Includes:
- ConfigModule, GitCheckClean, GitCheckHg, GitCheckWorkspace, GitLib, HgList, HgPull, HgPush, LoggingModule, SystemModule
- Defined in:
- lib/takeltau/hg/cli.rb
Overview
tau hg
Instance Method Summary collapse
-
#list ⇒ Object
List hg repos.
-
#pull ⇒ Object
Pull hg repos.
-
#push ⇒ Object
Push hg repos.
Methods included from HgPush
Methods included from HgPull
Methods included from HgList
Methods included from GitLib
#git_lib_prepare_git_workspace, #git_lib_push_hg_dirs
Methods included from GitCheckWorkspace
Methods included from GitCheckHg
Methods included from GitCheckClean
Methods included from ConfigModule
#config, #configured?, #initialize_config
Methods included from SystemModule
#command_available_else_error?, #hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_capture, #run_and_exit, #run_and_fork, #try, #write_file
Methods included from LoggingModule
Methods inherited from SubCommandBase
Instance Method Details
#list ⇒ Object
List hg repos.
25 26 27 28 29 30 |
# File 'lib/takeltau/hg/cli.rb', line 25 def list hgclone = hg_list exit false if hgclone == false say hgclone true end |
#pull ⇒ Object
Pull hg repos.
40 41 42 |
# File 'lib/takeltau/hg/cli.rb', line 40 def pull exit hg_pull end |
#push ⇒ Object
Push hg repos.
52 53 54 |
# File 'lib/takeltau/hg/cli.rb', line 52 def push exit hg_push end |