HiveMinds / SSL4Tor

Creates self-signed SLL/https certificates for your own tor website/onion domain.
GNU Affero General Public License v3.0
2 stars 1 forks source link

Simplify CLI usage. #30

Closed a-t-0 closed 1 year ago

a-t-0 commented 1 year ago

The default usage should be:

./src/main.sh --services 8050:gitlab:8070/9001:dash:9002/22:ssh:22

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:

One should be able to give 1 command: -drc --delete-root-certificate to automatically delete the pre-existing:

Perform intended command