Skip to content

createConfig overwrites existing files silently #51

Description

@beauraines

The config.createConfig() command will silently overwrite an existing configuration file. This should check for an existing file and throw an error.

Additionally,

  1. the JSON should be written with newlines, to make it easier for the user to edit the file.
  2. the createConfig() should return something on success, maybe the filename created.

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions