Class: Takeltau::GitCheck
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Takeltau::GitCheck
- Includes:
- ConfigModule, GitCheckClean, GitCheckHg, GitCheckWorkspace, LoggingModule, SystemModule
- Defined in:
- lib/takeltau/git/check/cli.rb
Overview
tau git check
Instance Method Summary collapse
-
#clean ⇒ Object
Check if the git workspace is clean.
-
#hg ⇒ Object
Check if we are on the git hg branch.
-
#workspace ⇒ Object
Check if a git workspace exists.
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
#clean ⇒ Object
Check if the git workspace is clean.
21 22 23 |
# File 'lib/takeltau/git/check/cli.rb', line 21 def clean exit git_check_clean end |
#hg ⇒ Object
Check if we are on the git hg branch.
33 34 35 |
# File 'lib/takeltau/git/check/cli.rb', line 33 def hg exit git_check_hg end |
#workspace ⇒ Object
Check if a git workspace exists.
45 46 47 |
# File 'lib/takeltau/git/check/cli.rb', line 45 def workspace exit git_check_workspace end |