adds a --limit option to the init subcommand, so it's now possible to gather only a subset of hosts in a workspace
updates some error handling on the init subcommand, which is related to adding the --limit option, because a new type becomes exposed if --limit doesn't match anything
Adds a new WorkspaceConfig option to require --limit on workspaces for safety reasons
updates the usage of --limit in check/run subcommands so that it may easily detect the presence of the --limit option
How was this tested?
Tested locally against an existing workspace. Tested what happens if there is no matching limit, etc
Checklist
[x] Have you updated the VERSION file (if applicable)?
What and why?
Fixes #16
This
--limit
option to theinit
subcommand, so it's now possible to gather only a subset of hosts in a workspaceinit
subcommand, which is related to adding the--limit
option, because a new type becomes exposed if--limit
doesn't match anything--limit
on workspaces for safety reasons--limit
incheck/run
subcommands so that it may easily detect the presence of the--limit
optionHow was this tested?
Tested locally against an existing workspace. Tested what happens if there is no matching limit, etc
Checklist