Class: Rigor::CLI::ShowBleedingedgeCommand
- Defined in:
- lib/rigor/cli/show_bleedingedge_command.rb
Overview
Executes ‘rigor show-bleedingedge` (ADR-50 § WD2).
Prints the bleeding-edge overlay — the Rigor-maintained set of the next major’s queued changes (BleedingEdge) — as an explicit list, and reports which of them the project’s ‘bleeding_edge:` configuration adopts. The overlay is empty in this release, so the command currently reports an empty set; it becomes the inspection surface ADR-50 describes once a feature is queued.
Read-only: it loads ‘.rigor.yml` to resolve the active selection but runs no analysis.
Constant Summary collapse
- USAGE =
"Usage: rigor show-bleedingedge [options]"
Instance Method Summary collapse
-
#run ⇒ Integer
CLI exit status.
Methods inherited from Command
Constructor Details
This class inherits a constructor from Rigor::CLI::Command
Instance Method Details
#run ⇒ Integer
Returns CLI exit status.
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/rigor/cli/show_bleedingedge_command.rb', line 27 def run = configuration = load_configuration() return CLI::EXIT_USAGE if configuration.nil? case .fetch(:format) when "json" then render_json(configuration) else render_text(configuration) end 0 end |