bin/nib in nib-1.2.2 vs bin/nib in nib-1.3.0
- old
+ new
@@ -14,9 +14,16 @@
autocomplete_commands false
preserve_argv true
GLI::Commands::Help.skips_post = false
+flag(
+ %i(f file),
+ arg_name: 'FILE',
+ desc: 'Specify an alternate compose file',
+ default_value: 'docker-compose.yml'
+)
+
pre do |global, command, options, args|
# Pre logic here
# Return true to proceed; false to abort and not call the
# chosen command
# Use skips_pre before a command to skip this block