Skip to content

Add config file support #5

Description

@Hubro

Currently, options can only be specified as command line arguments. This will get tedious when integrating the formatter into editors.

yangfmt should look in the following locations for configuration:

  • ./yangfmt.toml
  • ~/.config/yangfmt.toml
  • ~/.config/yangfmt/yangfmt.toml

Relevant libraries:

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions