Added password prompt with asterisks displayed while typing

This commit is contained in:
2026-06-26 07:40:07 +02:00
parent d6118894a0
commit 3837258d47
3 changed files with 212 additions and 2 deletions

View File

@ -17,6 +17,7 @@
- `1` runtime/SFTP error
- `2` argument/usage error
- Missing `--host`, `--user`, `--password` should still support interactive prompt mode.
- Interactive password prompts should avoid echoing the password, mask typed characters when possible, and restore terminal settings after input errors.
- `--skip` and `--skip-delete` matching semantics should remain stable.
- Rules without wildcard characters (`*`, `?`) use legacy exact matching.
- Exact rules without slash match any path segment; exact rules with slash match a relative subpath.