Can you interactively edit an existing manifest? #496
Answered
by
mdanish-kh
Marco Eckstein (marco-eckstein)
asked this question in
Q&A
|
With the |
Answered by
mdanish-kh
Dec 28, 2023
Replies: 1 comment 2 replies
|
You can use the Alternatively, you can clone https://github.com/microsoft/winget-pkgs locally, install the Red Hat YAML extension in VSCode and edit an existing manifest. If the manifest contains a schema header, the extension will help in offering intellisense that conforms to the schema. Finally, after making any change to an existing manifest, you can always use |
2 replies
Answer selected by
marco-eckstein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
wingetcreate updatecommand with the--interactiveswitch that lets you edit an existing manifest.Alternatively, you can clone https://github.com/microsoft/winget-pkgs locally, install the Red Hat YAML extension in VSCode and edit an existing manifest. If the manifest contains a schema header, the extension will help in offering intellisense that conforms to the schema.
Finally, after making any change to an existing manifest, you can always use
winget validate -m <path_to_manifest>to see if your changes conform to the schema