Skip to content

Allow configuration on command line #4

@AxeOfMen

Description

@AxeOfMen

Is your feature request related to a problem? Please describe.
It is cumbersome to use multiple configuration files. Depending on the environment, the current working directory may be different. This requires me to create multiple configuration files just to set the migrationsDir setting.

Describe the solution you'd like
I would like to be able to set the migrationsDir configuration on the command line, e.g.

migrate-mongo create my_new_migration_file --migrationsdir ./data/migrations

Ideally other settings would be configurable on the command line as well.

Describe alternatives you've considered
The only alternative I'm aware of is using multiple configuration files

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