# cargo-winapp
Cargo subcommand for Windows app development with [winapp](https://github.com/microsoft/winappCli).
Simplifies `winapp` CLI usage by automatically handling Cargo build artifacts, eliminating the need to manually specify executable paths.
## Prerequisites
* **winapp CLI**: **Required**. This plugin acts as a wrapper for the `winapp` command, so it must be installed to function.
```powershell
winget install microsoft.winappcli --source winget
```
## Installation
```bash
cargo install cargo-winapp
```
## Usage
### Build
Builds and applies identity without running (useful for debugging).
```bash
cargo winapp -v build
```
### Run
Builds the app, applies a debug identity, and runs it.
```bash
cargo winapp run
```
### Pack
Packages the application into an `.msix` bundle for distribution.
```bash
cargo winapp pack -i dist-msix --release
```
## License
MIT