Move mongo-shell CLI option to the base CLI command #215
Labels
breaking-change
cli
Concerning the CLI use
enhancement
New feature or request
good first issue
Good for newcomers
Currently:
The
mongo-shell
option is only available in the subcommandupdate-db
. The two other commands,list
andmark-one-script-as-executed
can't use a specified mongo shell, they only use the default shell, which is mongosh.Expected:
Datamaintain
update-db
(inUpdateDbTest
) to no longer test that the mongo shell is accurateDatamaintainTest
) to ensure that this now option is read from the shell, read from the configuration file and correctly overriden when given in shell and configuration fileMongoIT
and many CLI tests because of the order of the arguments. To run theMongoIT
tests, you could need both versions of mongo shell,mongo
andmongosh
The text was updated successfully, but these errors were encountered: