Skip to content

createConfig overwrites existing files silently #51

@beauraines

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.

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