feat(export): docstrings, man, README, switches

This commit is contained in:
steven-omaha
2023-06-06 15:30:24 +02:00
parent 0610cd0731
commit 4843543a74
6 changed files with 133 additions and 15 deletions
+22 -1
View File
@@ -41,12 +41,33 @@ The main subcommands are 'group', 'package' and 'version'.
.RS 4
All actions related to managing groups.
.sp
<e|edit> <group> [...]
<ed|edit> <group> [...]
.RS 4
edit the content of an existing group
.RE
.
.sp
<ex|export> [<args>] <group> [...]
.RS 4
Export non-symlink groups by moving and re-importing them.
By default, the output path is the current workdir.
The file path relative to the group base dir will be replicated under the output directory.
If a specified group is not a symlink, pacdef will return an error.
.sp
-f|--force
.RS 4
Overwrite the output file if it exists.
.RE
.sp
-o|--output
.RS 4
The output dir to use instead of the current workdir.
The dir must exist.
.RE
.RE
.
.sp
<i|import> <file> [...]
.RS 4
import a new group file or group dir structure