Refactor CLI with System.CommandLine & SSH key support - #10
Refactor CLI with System.CommandLine & SSH key support#10brian-shelledy wants to merge 2 commits into
Conversation
Refactored the application to use System.CommandLine for argument parsing, replacing manual parsing logic. Added support for SSH private key authentication (id_rsa) in addition to password authentication. Updated launchSettings.json to use options for password and added new test profiles. Made password parameter nullable and centralized SftpClient creation logic. Updated Program.cs for async command invocation. These changes improve CLI usability, authentication flexibility, and testability.
|
Thanks for the contribution. The overall direction—moving to
The project builds successfully for me with zero warnings and errors. I also exercised I would like to see the issues above—particularly items 1 through 6—resolved before merging. |
These changes improve CLI usability, authentication flexibility, and testability.