Sha256: 807e4ea927c4a627edf4ba004498cc40daa7387100fca7386385c01a3f207065
Contents?: true
Size: 1.09 KB
Versions: 29
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true module Takelage # takelage git check class GitCheck < SubCommandBase include LoggingModule include SystemModule include ConfigModule include GitCheckClean include GitCheckMain include GitCheckWorkspace # # git check clean # desc 'clean', 'Check if the git workspace is clean' long_desc <<-LONGDESC.gsub("\n", "\x5") Check if the git workspace is clean LONGDESC # Check if the git workspace is clean. def clean exit git_check_clean end # # git check main # desc 'main', 'Check if we are on the git main branch' long_desc <<-LONGDESC.gsub("\n", "\x5") Check if we are on the git main branch LONGDESC # Check if we are on the git main branch. def main exit git_check_main end # # git check workspace # desc 'workspace', 'Check if a git workspace exists' long_desc <<-LONGDESC.gsub("\n", "\x5") Check if a git workspace exists LONGDESC # Check if a git workspace exists. def workspace exit git_check_workspace end end end
Version data entries
29 entries across 29 versions & 1 rubygems