Class: Space::Core::CLI::Config::ConfigPath

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/space_core/cli/config.rb

Instance Method Summary collapse

Methods included from Helpers

#display_date, #handle_errors, #project_config, #render, #setup_terminal, #state, #store, #terminal

Instance Method Details

#call(**opts) ⇒ Object



24
25
26
27
28
29
30
# File 'lib/space_core/cli/config.rb', line 24

def call(**opts)
  setup_terminal(**opts.slice(:color, :colors))
  handle_errors do
    terminal.say terminal.path(project_config.path)
    CLI.record_outcome(Outcome.new(exit_code: 0))
  end
end