win-auto
v0.1.5
Published
CLI for Windows desktop automation test project scaffolding.
Downloads
769
Readme
win-auto CLI
Command-line tool for scaffolding Windows automation projects.
Installation
npm install -g win-autoUsage
Create a new project
win-auto init my-automation-project
cd my-automation-project
npm installThis creates a starter project with:
- Pre-configured TypeScript setup
- Example automation scripts
- Vitest integration for testing
- Build and test commands
Project Structure
Generated projects include:
my-automation-project/
├── src/
│ └── index.ts # Your automation code
├── tests/
│ └── example.test.ts # Test examples
├── package.json
├── tsconfig.json
└── README.mdNext Steps
- Edit
src/index.tswith your automation logic - Add tests to
tests/ - Run
npm run buildto compile - Run
npm testto execute tests
Examples
After creating a project, check the generated files for examples of:
- Launching applications
- Finding UI elements
- Simulating user interactions
- Writing tests
Documentation
See the main README for complete documentation and API reference.
License
MIT
