Closed a-t-0 closed 1 year ago
The default usage should be:
./src/main.sh --services 8050:gitlab:8070/9001:dash:9002/22:ssh:22
And that should:
If (any) of those data types already exists, and the user did not specify the "delete" command for that type of data, throw an error.
One should be able to give 1 command -da, --delete-all to automatically delete all the pre-existing:
-da, --delete-all
One should be able to give 1 command: -do, --delete-onions to automatically delete the pre-existing:
-do, --delete-onions
One should be able to give 1 command: -dsc --delete-service-certificates to automatically delete the pre-existing:
-dsc --delete-service-certificates
--services
One should be able to give 1 command: -drc --delete-root-certificate to automatically delete the pre-existing:
-drc --delete-root-certificate
The default usage should be:
And that should:
Checks
Delete args
If (any) of those data types already exists, and the user did not specify the "delete" command for that type of data, throw an error.
One should be able to give 1 command
-da, --delete-all
to automatically delete all the pre-existing:One should be able to give 1 command:
-do, --delete-onions
to automatically delete the pre-existing:One should be able to give 1 command:
-dsc --delete-service-certificates
to automatically delete the pre-existing:--services
command. (Do not delete the root ca in this case).One should be able to give 1 command:
-drc --delete-root-certificate
to automatically delete the pre-existing:Perform intended command