CLI Commands (regolith.commands
)¶
Implementation of commands for command line.
- regolith.commands.fs_to_mongo(rc: RunControl) None [source]¶
Convert database collection from filesystem to mongo db.
- Parameters:
rc (RunControl) – The RunControl. The mongo client will be created according to ‘mongodbpath’ in it. The databases will be loaded according to the ‘databases’ in it.
- regolith.commands.mongo_to_fs(rc: RunControl) None [source]¶
Convert database collection from filesystem to mongo db.
- Parameters:
rc (RunControl) – The RunControl. The mongo client will be created according to ‘mongodbpath’ in it. The databases will be loaded according to the ‘databases’ in it.