Files
mtm-ssh-menu/.memory/project.md
T
matmoul ce563186cb feat: migrate ssh menu to Bun/TypeScript
Replace the Bash implementation and jq/yq dependency chain with a Bun-based TypeScript script, add Bun/TypeScript project files, and update docs and sample config notes to match the new CLI and behavior.
2026-06-04 01:45:53 +02:00

17 lines
1.1 KiB
Markdown

# Project Memory
- Project: mtm-ssh-menu
- Type: TypeScript/Bun SSH target picker with YAML config.
- Main entry point: `mtm-ssh-menu`
- Configuration: `~/.config/mtm-ssh-menu/global.yaml` and `hosts/*.yaml` by default.
- Dependencies: `bun`, `ssh`, `fzf`.
- Sample config is stored in `sample-config/` and mirrors current script behavior.
- Sample `global.yaml` includes `office`, `dev`, and `backup` jump hosts.
- Documentation language: English.
- Current task focus: keep README and memory aligned with the working script and sample configuration.
- Sample host files currently use numbered names: `01_prod.yaml`, `02_staging.yaml`, `03_dev.yaml`.
- `sample-config/hosts/01_prod.yaml` contains `web-1` and `db-1`; `02_staging.yaml` contains `app-1` and `worker-1`; `03_dev.yaml` contains `api-1` and `web-1`.
- CLI usage currently exposes `-c/--config-dir` and `-k/--known-hosts` (optional user) as documented in the script.
- `-k` without a user defaults known-host entries to `root`.
- Host-specific `options` override global `default_options`; `ssh_options` in sample config is currently unused.