diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-09-01 13:02:13 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-09-01 13:02:13 +0200 |
commit | 353e59034a230b6a502b92ac16226e3b6a98c821 (patch) | |
tree | 316cf36e979a37c1ab671c9c5cca2b4d587bd5e0 /t/15-usage.t | |
parent | c869532d063368ad0fe015eab7603c38e62c03c3 (diff) | |
download | sbotools2-353e59034a230b6a502b92ac16226e3b6a98c821.tar.xz |
sboinstall: add support for templates. this closes #38.
Diffstat (limited to 't/15-usage.t')
-rwxr-xr-x | t/15-usage.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/15-usage.t b/t/15-usage.t index 94eb9f0..0e1ee37 100755 --- a/t/15-usage.t +++ b/t/15-usage.t @@ -102,6 +102,7 @@ sbofind { expected => $sbofind, exit => 1 }; ## sboinstall my $sboinstall = <<'SBOINSTALL'; Usage: sboinstall [options] sbo + sboinstall --use-template file Options (defaults shown first where applicable): -h|--help: @@ -122,6 +123,11 @@ Options (defaults shown first where applicable): non-interactive; skips README and all prompts. -R|--norequirements: view the README but do not parse requirements, commands, or options. + --create-template (FILE): + create a template with specified requirements, commands, and options. + --use-template (FILE): + use a template created by --create-template to install requirements with + specified commands and options. This also enables the --nointeractive flag. SBOINSTALL sboinstall '-h', { expected => $sboinstall }; |