# {{.ProjectName}}

A Kuetix package with reusable workflows, features, and solutions.

## Package Structure

- **workflows/common/** - Base workflows
- **workflows/features/** - Feature orchestrations
- **workflows/solutions/** - High-level solutions
- **modules/services/** - Custom service modules
- **tests/** - Test workflows

## Quick Start

### Using the Runner Script

The package includes a `runner.sh` script for easy development:

```bash
# Run a specific workflow
./runner.sh run workflows/common/example.wsl

# Test all workflows, features, and solutions
./runner.sh test

# Validate all workflow files
./runner.sh validate

# Build the application
./runner.sh build

# Clean generated files
./runner.sh clean
```

### Manual Usage

#### Validate workflows
```bash
kue validate --file workflows/common/example.wsl
```

#### Run workflows
```bash
kue run workflows/common/example.wsl
```

#### Run tests
```bash
kue test
```

## Package Metadata

Package information is stored in `kuetix.json` and can be used with:

```bash
kue package sign --package kuetix.json --token <api-token>
kue package publish --package kuetix.json --token <api-token>
```

## Development

1. Add your workflows to the appropriate directory
2. Test your workflows: `./runner.sh test`
3. Validate syntax: `./runner.sh validate`
4. Package and publish when ready

## Notes

- Module cache (di.go, meta.go, modules.json) is automatically generated by kue run
- No need to manually run kueinit before running workflows
- The runner script handles all common development tasks

## License

MIT
