Add clarity to the documentation
Some checks are pending
portzap / shellcheck (push) Waiting to run

This commit is contained in:
0x1eef 2024-08-07 02:15:47 -03:00
parent cba5973df8
commit c4ee461925
2 changed files with 16 additions and 8 deletions

View file

@ -21,19 +21,23 @@ multiple times:
#### CLI: portzap #### CLI: portzap
# Clone the HardenedBSD ports tree into /home/_portzap/ports/ # Clone the HardenedBSD ports tree into /home/_portzap/ports/
# This command is delegated to the '_portzap' user # This command is delegated to the '_portzap' user and
# limited to members of the '_portzap' group
user@localhost$ portzap clone user@localhost$ portzap clone
# Pull updates into /home/_portzap/ports/ # Pull updates into /home/_portzap/ports/
# This command is delegated to the '_portzap' user # This command is delegated to the '_portzap' user and
# limited to members of the '_portzap' group
user@localhost$ portzap pull user@localhost$ portzap pull
# Checkout a branch other than the default: hardenedbsd/main # Checkout a branch other than the default: hardenedbsd/main
# This command is delegated to the '_portzap' user # This command is delegated to the '_portzap' user and
# limited to members of the '_portzap' group
user@localhost$ portzap checkout freebsd/main user@localhost$ portzap checkout freebsd/main
# Run /bin/sh within /home/_portzap/ports/ # Run /bin/sh within /home/_portzap/ports/
# This command is delegated to the '_portzap' user # This command is delegated to the '_portzap' user and
# limited to members of the '_portzap' group
user@localhost$ portzap sh user@localhost$ portzap sh
# Remove the contents of /usr/ports/ and /home/_portzap/ports/ # Remove the contents of /usr/ports/ and /home/_portzap/ports/

View file

@ -23,26 +23,30 @@ can be installed into /usr/ports/ by root.
.br .br
Clone the HardenedBSD ports tree into /home/_portzap/ports/ Clone the HardenedBSD ports tree into /home/_portzap/ports/
.br .br
This command is delegated to the '_portzap' user This command is delegated to the '_portzap' user and
limited to members of the '_portzap' group
.Pp .Pp
.Nm portzap pull .Nm portzap pull
.br .br
Pull updates into /home/_portzap/ports/ Pull updates into /home/_portzap/ports/
.br .br
This command is delegated to the '_portzap' user This command is delegated to the '_portzap' user and
limited to members of the '_portzap' group
.br .br
.Pp .Pp
.Nm portzap checkout .Nm portzap checkout
.br .br
Checkout a branch other than the default: hardenedbsd/main Checkout a branch other than the default: hardenedbsd/main
.br .br
This command is delegated to the '_portzap' user This command is delegated to the '_portzap' user and
limited to members of the '_portzap' group
.Pp .Pp
.Nm portzap sh .Nm portzap sh
.br .br
Run /bin/sh within /home/_portzap/ports/ Run /bin/sh within /home/_portzap/ports/
.br .br
This command is delegated to the '_portzap' user This command is delegated to the '_portzap' user and
limited to members of the '_portzap' group
.Pp .Pp
.Nm portzap rm .Nm portzap rm
.br .br