Skip to content

Add "format" command #2

@brandonbloom

Description

@brandonbloom

There should be a "format" command that reformats a .cmdt file. Mainly, this would normalize:

  • comments
  • blank lines
  • trailing whitespace (except in command output)
  • trailing newline (at the end of the file)
  • any special directive sytnax

Implementation-wise, I expect this to be extremely similar to the updater, but preserving existing expectations rather than recording new ones.

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