ce563186cb
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.
1.1 KiB
1.1 KiB
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.yamlandhosts/*.yamlby default. - Dependencies:
bun,ssh,fzf. - Sample config is stored in
sample-config/and mirrors current script behavior. - Sample
global.yamlincludesoffice,dev, andbackupjump 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.yamlcontainsweb-1anddb-1;02_staging.yamlcontainsapp-1andworker-1;03_dev.yamlcontainsapi-1andweb-1.- CLI usage currently exposes
-c/--config-dirand-k/--known-hosts(optional user) as documented in the script. -kwithout a user defaults known-host entries toroot.- Host-specific
optionsoverride globaldefault_options;ssh_optionsin sample config is currently unused.