Skip to content

Add "format" command #2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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