Browse Source

Added help to arguments and remote directory argument for storage

master
Raphael Roberts 7 years ago
parent
commit
fb2a9e8029
  1. 9
      copy_cert.py

9
copy_cert.py

@ -36,7 +36,12 @@ def exec_remote(connection: paramiko.SSHClient, command):
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument('cert_path')
parser.add_argument('key_path')
parser.add_argument(
'cert_path', help="location of the certificate to install")
parser.add_argument(
'key_path', help="localtion of the private key to install")
parser.add_argument(
'store_path',
help="directory to store the private key and certificate")
parser.add_argument('-d', '--dry', action='store_true')
args = parser.parse_args()
Loading…
Cancel
Save