Class: Takelage::GitCheck
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Takelage::GitCheck
- Includes:
- ConfigModule, GitCheckBit, GitCheckClean, GitCheckWorkspace, LoggingModule, SystemModule
- Defined in:
- lib/takelage/git/check/cli.rb
Overview
takelage git check
Instance Method Summary collapse
-
#bit ⇒ Object
Check if we are on the git bit branch.
-
#clean ⇒ Object
Check if the git workspace is clean.
-
#workspace ⇒ Object
Check if a git workspace exists.
Methods included from GitCheckWorkspace
Methods included from GitCheckBit
Methods included from GitCheckClean
Methods included from ConfigModule
#config, #configured?, #initialize_config
Methods included from SystemModule
#command_available_else_error?, #command_available_else_warn?, #hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_capture, #run_and_exit, #run_and_fork, #try
Methods included from LoggingModule
Methods inherited from SubCommandBase
Instance Method Details
#bit ⇒ Object
Check if we are on the git bit branch.
21 22 23 |
# File 'lib/takelage/git/check/cli.rb', line 21 def bit exit git_check_bit end |
#clean ⇒ Object
Check if the git workspace is clean.
33 34 35 |
# File 'lib/takelage/git/check/cli.rb', line 33 def clean exit git_check_clean end |
#workspace ⇒ Object
Check if a git workspace exists.
45 46 47 |
# File 'lib/takelage/git/check/cli.rb', line 45 def workspace exit git_check_workspace end |