atman-prompts
v1.0.0
Published
CLI tool to generate prompt files in a structured directory format
Maintainers
Readme
Atman prompts
A CLI tool to generate prompt files in a structured directory format for different languages.
Features
- Generate prompt files for multiple languages (English and Japanese by default).
- Customize the output directory for the generated files.
- Enable verbose logging for detailed output.
Installation
npm install -g atman-promptsUsage
Once installed, you can use the atman-prompts command to generate the prompt files.
Default Usage
This will create a .prompts directory in the current location with subdirectories for en and ja languages.
atman-promptsOptions
-o, --output-dir <dir>: Specify a custom output directory.-l, --languages <languages...>: Specify the languages to generate.-v, --verbose: Enable verbose output.-h, --help: Display help for the command.
Examples
Generate prompts in a custom directory:
atman-prompts --output-dir my-promptsGenerate prompts for a single language:
atman-prompts --languages enGenerate prompts for multiple specified languages:
atman-prompts --languages en fr deDevelopment
Prerequisites
- Node.js (>=16.0.0)
- npm
Setup
Clone the repository.
Install dependencies:
npm install
Building the Project
To compile the TypeScript code, run:
npm run buildRunning Tests
This project uses vitest for testing.
Run all tests:
npm run testRun tests with coverage:
npm run test:coverage
Linting and Formatting
This project uses biome for linting and formatting.
Lint the code:
npm run lintFormat the code:
npm run formatCheck for linting and formatting issues:
npm run check
