19 lines
1.1 KiB
Markdown
19 lines
1.1 KiB
Markdown
---
|
|
description: SSHRM project conventions
|
|
---
|
|
|
|
# Project conventions
|
|
- Use English throughout the project.
|
|
- Keep shell scripts Bash-based when Bash is already used by the project.
|
|
- Preserve the current behavior of the main scripts:
|
|
- `sshrm`: remove an entry from `~/.ssh/known_hosts` by host name or by line number.
|
|
- Keep user-facing messages short, clear, and in English.
|
|
- Prefer minimal, focused changes that do not alter the intent of the existing scripts, unless the script behavior is intentionally updated.
|
|
- Maintain `.continue/rules/project.md` whenever project conventions or script behavior change.
|
|
- `sshrm` is implemented as a small Bash script with helper functions, while preserving host and line-number removal behavior.
|
|
- `sshrm` should print a short usage line, support `-h`/`--help`, fail clearly on missing or invalid line-number input, reject extra arguments, may support a dedicated `--no-backup` option with a `known_hosts.sshrm.bak` backup file, and now asks for confirmation before removal.
|
|
|
|
# Project identity
|
|
- Main script: `sshrm`
|
|
- License: GNU GPL v3
|