Skip to content

Config files not working #3

@jolonf

Description

@jolonf

When starting echain as follows:

echain start -f ./event.json

It doesn't load event.json but instead searches for the first json file and may choose the wrong one if the directory contains other json files.

The issue is that the command line parsing uses fileconfig:

fileconfig: 'f',

Whereas when it loads the file it is expecting config:

} else if (options.config) {

Either config should be changed to fileconfig or vice verse.

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