Class: Space::Core::CLI::BaseCommand
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Space::Core::CLI::BaseCommand
- Includes:
- Helpers
- Defined in:
- lib/space_core/cli/base_command.rb
Overview
Base for every space/architect command. dry-cli (>= 0.7.0) copies a superclass’s options to its subclasses, so the global colour options are declared once here and inherited everywhere instead of being mixed in per command. Helpers (terminal/store/render) ride along by inheritance too.
The ‘src` binary has its own output-mode system (–plain/–json) and does NOT inherit from this base.
Direct Known Subclasses
Config::ConfigPath, Config::Set, Config::Show, Current, Init, List, New, Path, Repo::Add, Repo::RepoList, Repo::Resolve, Shell::Complete, Shell::Fish, Shell::ShellInit, Show, Status, Use
Method Summary
Methods included from Helpers
#display_date, #handle_errors, #project_config, #render, #setup_terminal, #state, #store, #terminal