Skip to content

Can you interactively edit an existing manifest? #496

Answered by mdanish-kh
marco-eckstein asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the wingetcreate update command with the --interactive switch 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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@marco-eckstein
Comment options

@mdanish-kh
Comment options

Answer selected by marco-eckstein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants