lib/avm/sources/runner.rb in avm-0.72.0 vs lib/avm/sources/runner.rb in avm-0.73.0
- old
+ new
@@ -9,9 +9,11 @@
desc 'Root command for sources.'
arg_opt '-C', '--path', 'Path to the source.', default: '.'
subcommands
end
+ for_context :optional_source, :source
+
def extra_available_subcommands
optional_source.if_present({}, &:extra_available_subcommands)
end
def source_banner