Options (8)
-v, --versionbooleanCreate a new package from scratch
Example:
komac new {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}} {{[-u|--urls]}} {{https://example.com/app.exe}}-u, --urlsbooleanCreate a new package from scratch
Example:
komac new {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}} {{[-u|--urls]}} {{https://example.com/app.exe}}-s, --submitbooleanUpdate a package with multiple URLs and automatically submit
Example:
komac update {{Package.Identifier}} {{[-v|--version]}} {{1.2.3}} {{[-u|--urls]}} {{https://example.com/app.exe https://example.com/app.msi ...}} {{[-s|--submit]}}booleanList all versions for a package
Example:
komac {{[list|list-versions]}} {{Package.Identifier}}booleanSync your fork of winget-pkgs with the upstream repository
Example:
komac {{[sync|sync-fork]}}booleanUpdate the stored GitHub token
Example:
komac token {{[add|update]}} {{[-t|--token]}} {{your_github_token}}-t, --tokenbooleanUpdate the stored GitHub token
Example:
komac token {{[add|update]}} {{[-t|--token]}} {{your_github_token}}booleanGenerate shell autocompletion script
Example:
komac {{[complete|autocomplete]}} {{bash|elvish|fish|powershell|zsh}}Examples (8)
Create a new package from scratch
komac new Package.Identifier [-v|--version] 1.2.3 [-u|--urls] https://example.com/app.exeUpdate an existing package with a new version
komac update Package.Identifier [-v|--version] 1.2.3 [-u|--urls] https://example.com/app.exeUpdate a package with multiple URLs and automatically submit
komac update Package.Identifier [-v|--version] 1.2.3 [-u|--urls] https://example.com/app.exe https://example.com/app.msi ... [-s|--submit]Remove a version from winget-pkgs
komac remove Package.Identifier [-v|--version] 1.2.3List all versions for a package
komac [list|list-versions] Package.IdentifierSync your fork of winget-pkgs with the upstream repository
komac [sync|sync-fork]Update the stored GitHub token
komac token [add|update] [-t|--token] your_github_tokenGenerate shell autocompletion script
komac [complete|autocomplete] bash|elvish|fish|powershell|zshmade by @shridhargupta | data from tldr-pages