lib/milestoner/cli/shell.rb in milestoner-16.2.1 vs lib/milestoner/cli/shell.rb in milestoner-17.0.0

- old
+ new

@@ -4,11 +4,11 @@ module Milestoner module CLI # The main Command Line Interface (CLI) object. class Shell - include Import[:defaults_path, :xdg_config, :specification] + include Import[:defaults_path, :specification, xdg_config: "xdg.config"] def initialize(context: Sod::Context, dsl: Sod, **) super(**) @context = context @dsl = dsl @@ -23,11 +23,12 @@ def cli context = build_context dsl.new :milestoner, banner: specification.banner do on(Sod::Prefabs::Commands::Config, context:) + on Commands::Cache + on Commands::Build on Actions::Publish - on Actions::Status on(Sod::Prefabs::Actions::Version, context:) on Sod::Prefabs::Actions::Help, self end end