88def load_arguments (self , _ ):
99
1010 with self .argument_context ('sftp cert' ) as c :
11- c .argument ('cert_path' , options_list = ['--file' , '-f ' ],
11+ c .argument ('cert_path' , options_list = ['--output- file' , '-o ' ],
1212 help = 'The file path to write the SSH cert to, defaults to public key path with -aadcert.pub appended' )
1313 c .argument ('public_key_file' , options_list = ['--public-key-file' , '-p' ],
1414 help = 'The RSA public key file path. If not provided, '
15- 'generated key pair is stored in the same directory as --file.' )
15+ 'generated key pair is stored in the same directory as --output- file.' )
1616 c .argument ('ssh_client_folder' , options_list = ['--ssh-client-folder' ],
1717 help = 'Folder path that contains ssh executables (ssh-keygen, ssh). '
1818 'Default to ssh executables in your PATH or C:\\ Windows\\ System32\\ OpenSSH on Windows.' )
@@ -35,10 +35,8 @@ def load_arguments(self, _):
3535 'a certificate will be generated automatically from this key.' )
3636 c .argument ('sftp_args' , options_list = ['--sftp-args' ],
3737 help = 'Additional arguments to pass to the SFTP client. '
38- 'Example: "-v" for verbose output, "-o ConnectTimeout=30" for custom timeout.' )
38+ 'Example: "-v" for verbose output, "-b batchfile.txt" for batch commands, '
39+ '"-o ConnectTimeout=30" for custom timeout.' )
3940 c .argument ('ssh_client_folder' , options_list = ['--ssh-client-folder' ],
4041 help = 'Path to folder containing SSH client executables (ssh, sftp, ssh-keygen). '
4142 'Default: Uses executables from PATH or C:\\ Windows\\ System32\\ OpenSSH on Windows.' )
42- c .argument ('sftp_batch_commands' , options_list = ['--batch-commands' ],
43- help = 'SFTP batch commands to execute after connecting (non-interactive mode). '
44- 'Separate commands with \\ n. Example: "ls\\ nget file.txt\\ nbye"' )
0 commit comments