2025-07-24 22:27:13 -06:00
|
|
|
# komac
|
|
|
|
|
|
|
|
|
|
> Create WinGet manifests for the `winget-pkgs` repository.
|
|
|
|
|
> More information: <https://github.com/russellbanks/Komac>.
|
|
|
|
|
|
|
|
|
|
- Create a new package from scratch:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`komac new {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}} {{[-u|--urls]}} {{https://example.com/app.exe}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Update an existing package with a new version:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`komac update {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}} {{[-u|--urls]}} {{https://example.com/app.exe}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Update a package with multiple URLs and automatically submit:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`komac update {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}} {{[-u|--urls]}} {{https://example.com/app.exe https://example.com/app.msi ...}} {{[-s|--submit]}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Remove a version from winget-pkgs:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`komac remove {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- List all versions for a package:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`komac {{[list|list-versions]}} {{Package.Identifier}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Sync your fork of winget-pkgs with the upstream repository:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`komac {{[sync|sync-fork]}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Update the stored GitHub token:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`komac token {{[add|update]}} {{[-t|--token]}} {{your_github_token}}`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Generate shell autocompletion script:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`komac {{[complete|autocomplete]}} {{bash|elvish|fish|powershell|zsh}}`
|