mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:33:38 +02:00
komac: add page (#16876)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
c291c7850a
commit
28818db906
1 changed files with 36 additions and 0 deletions
36
pages/common/komac.md
Normal file
36
pages/common/komac.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# komac
|
||||
|
||||
> Create WinGet manifests for the `winget-pkgs` repository.
|
||||
> More information: <https://github.com/russellbanks/Komac>.
|
||||
|
||||
- Create a new package from scratch:
|
||||
|
||||
`komac new {{Package.Identifier}} --version {{1.2.3}} --urls {{https://example.com/app.exe}}`
|
||||
|
||||
- Update an existing package with a new version:
|
||||
|
||||
`komac update {{Package.Identifier}} --version {{1.2.3}} --urls {{https://example.com/app.exe}}`
|
||||
|
||||
- Update a package with multiple URLs and automatically submit:
|
||||
|
||||
`komac update {{Package.Identifier}} --version {{1.2.3}} --urls {{https://example.com/app.exe https://example.com/app.msi ...}} --submit`
|
||||
|
||||
- Remove a version from winget-pkgs:
|
||||
|
||||
`komac remove {{Package.Identifier}} --version {{1.2.3}}`
|
||||
|
||||
- List all versions for a package:
|
||||
|
||||
`komac list-versions {{Package.Identifier}}`
|
||||
|
||||
- Sync your fork of winget-pkgs with the upstream repository:
|
||||
|
||||
`komac sync-fork`
|
||||
|
||||
- Update the stored GitHub token:
|
||||
|
||||
`komac token update --token {{your_github_token}}`
|
||||
|
||||
- Generate shell autocompletion script:
|
||||
|
||||
`komac complete {{bash|zsh|fish|powershell}}`
|
Loading…
Add table
Reference in a new issue