Skip to content

Skip headings in wingetcreate show command #629

@mdanish-kh

Description

@mdanish-kh

Description of the new feature / enhancement

wingetcreate show can be used in automation scenarios. For that purpose, it's output should be one that can be cleanly parsed. Current output of wingetcreate show includes headings which were originally intended for user reading experience. I think we should remove them in favor of output that is parsed more cleanly in automation scenario

While the YAML output is still parse-able, the JSON output looks like

Installer Manifest:
{
  ...
}

Default Locale (en-US) Manifest:
{
   ...
}

Version Manifest:
{
   ...
}

The headings can be replaced by something that is easier to deal with in automation scenarios, maybe something like:

{
  "InstallerManifest": {
    ...
  },
  "DefaultLocaleManifest": {
    ...
  },
  "LocaleManifests": [
    {
        ...
    },
    {
        ...
    }
  ],
  "VersionManifest": {
      ...
  }
}

Proposed technical implementation details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions