The config.createConfig() command will silently overwrite an existing configuration file. This should check for an existing file and throw an error.
Additionally,
- the JSON should be written with newlines, to make it easier for the user to edit the file.
- the
createConfig() should return something on success, maybe the filename created.