Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Remove quotes in HashTables Keys when possible #3

@JohnLeyva

Description

@JohnLeyva

First of all, very nice work

it will be nice if hashtables keys are not quoted when it is not necessary in order to generate cleaner output.

So it can generate output like the following

@{
  ModuleVersion = '1.0.0.95'
  CompanyName = 'Unknown'
  RequiredModules =
    @{
      ModuleName = 'Microsoft.PowerShell.Utility'
      GUID = '1da87e53-152b-403e-98dc-74d7b4d63d59'
      ModuleVersion = '7.0.0.0'
    },
    @{
      ModuleName = 'YYYYYY'
      GUID = 'AAAAAAAAAAAA'
      ModuleVersion = '1.0.0.94'
    },
  FunctionsToExport = 'XXX'
  CmdletsToExport = @()
  VariablesToExport = '*'
  AliasesToExport = @()
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions