Module: Release::Gem::Cli

Defined in:
lib/release/gem/cli.rb,
lib/release/gem/gem_cli_action.rb,
lib/release/gem/vcs_cli_action.rb

Defined Under Namespace

Classes: GemAction, VcsAction

Class Method Summary collapse

Class Method Details

.clsObject



6
7
8
# File 'lib/release/gem/cli.rb', line 6

def self.cls
  print "\e[2J\e[f"
end


10
11
12
13
# File 'lib/release/gem/cli.rb', line 10

def self.print_header(path = Dir.getwd)
  puts Gem.pastel.bright_yellow("\n Standard GEM CLI release flow version #{Release::Gem::VERSION}")
  puts Gem.pastel.bright_yellow(" Rubygems location : #{path}\n")
end