Skip to content

Add command to show the current configuration #667

@sdavids

Description

@sdavids

Similar to:

$ git config -l

The proposed command would show the actual configuration being used.

With

.swift-format

{
  "version": 1
}
$ swift-format show-configuration

would display

{
  "version": 1,
... default values ...
}

$ swift-format dump-configuration

displays the default configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions