Class: Ocak::Commands::Status
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Ocak::Commands::Status
- Defined in:
- lib/ocak/commands/status.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/ocak/commands/status.rb', line 13 def call(**) config = Config.load puts 'Pipeline Status' puts '=' * 40 puts '' show_issues(config) puts '' show_worktrees(config) puts '' show_recent_logs(config) rescue Config::ConfigNotFound => e warn "Error: #{e.}" exit 1 end |