Class: GitCompound::Command::Procedure::Help

Inherits:
GitCompound::Command::Procedure show all
Defined in:
lib/git_compound/command/procedure/help.rb

Overview

Help command procedure

Class Method Summary collapse

Class Method Details

.messageObject

rubocop:disable Metrics/AbcSize



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/git_compound/command/procedure/help.rb', line 12

def self.message
  <<-EOS
#{'GitCompound version'.bold.yellow} #{GitCompound::VERSION.bold}

Usage: #{'gitcompound'.bold.green}
  #{'[options]'.green} #{'command'.bold} #{'[manifest_file]'.green}

Commands:
  #{'build'.bold}
      builds project from manifest (or lockfile if present)

      If manifest is not specified it uses one of
      #{Manifest::FILENAMES.inspect}

  #{'update'.bold}
      updates project

  #{'check'.bold}
      detects circular depenencies, conflicting dependencies
      and checks for name contraints

  #{'show'.bold}
      prints structure of project

  #{'help'.bold}
      prints this help

Options:'
  #{'--verbose'.bold}
      prints verbose log info

  #{'--disable-colors'.bold}
      disable ANSI colors in output
  EOS
end