- Hard code set of prompt template names with description
- Hard code set of project names with description
- Take template and project args as positionals:
prompt prompt-name project-name
- Load template from
absolute path/{prompt arg}.md
- Load prompt map from
absolute path/{project arg}/.config/prompt-map.json
- Load files content
- Inject files content to placeholders in template by key
- Each file is injected with separator between them
- For files with code use markdown code blocks with language marker
- For files with code print absolute path before block if flag
-cp --code-path is used
- List prompts and projects with
prompt list
- Print result in console if flag
-p --print is used
- Put result in clipboard (on ubuntu)
- Make it cli command with help
- Command typed with mistake or no args should print help