spox / batali

Light weight cookbook resolver
https://spox.github.io/batali
Other
32 stars 6 forks source link

Unable to auto confirm scrub #94

Open webframp opened 7 years ago

webframp commented 7 years ago

I read through https://github.com/spox/bogo-ui/blob/master/lib/bogo-ui/ui.rb and although it seems like this should work, it doesn't currently.

$ batali cache --scrub --yes
ERROR: ArgumentError: Unknown CLI option provided `--yes`
$ batali -v
batali - Cookbook Collection Manager - [Version: 0.4.10]
  - DRY should be the rule, not the exception

Was looking here: https://github.com/spox/bogo-ui/blob/master/lib/bogo-ui/ui.rb#L184 and https://github.com/spox/batali/blob/master/lib/batali/command/cache.rb#L20

What am I missing?