projtool.pl: new CLI project management tool
commitea3902af6d88da61ab58d6d5fbdbc34831e53b34
authorKyle J. McKay <mackyle@gmail.com>
Sun, 20 Nov 2016 20:56:34 +0000 (20 12:56 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 20 Nov 2016 20:56:34 +0000 (20 12:56 -0800)
treec5e8b46f91e4a9b629c7bf720c2b198ecceadd1d
parent01c9cba9039b7fce003e6a59a16919176aa2c427
projtool.pl: new CLI project management tool

The new projtool.pl script (in toolbox) allows one to do everything
to a project (and more) that can be done via the web UI.

This includes project creation, removal and password changes.

The projtool.pl script can also adopt a bare project located in the
$reporoot hierarchy that is not currently listed in $chroot/etc/group.

Most settings are validated in a manner similar to the web UI.
However, use of the --force option can override most of the checks.

Since projtool.pl subsumes the functionality of the remirror-project.pl
and trash-project.pl scripts, those scripts now just redirect to
projtool.pl but they still work with the same arguments as before.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/CLIUtil.pm [new file with mode: 0644]
toolbox/projtool.pl [new file with mode: 0755]
toolbox/remirror-project.pl
toolbox/trash-project.pl