redis-di scaffold
Generates configuration files for RDI
Usage
Usage: redis-di scaffold [OPTIONS]
Options
-
log_level
:- Type: Choice(['TRACE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'])
- Default:
info
- Usage:
--log-level -l
-
db_type
(REQUIRED):- Type: Choice([<DbType.CASSANDRA: 'cassandra'>, <DbType.MARIADB: 'mariadb'>, <DbType.MONGODB: 'mongodb'>, <DbType.MYSQL: 'mysql'>, <DbType.ORACLE: 'oracle'>, <DbType.POSTGRESQL: 'postgresql'>, <DbType.SQLSERVER: 'sqlserver'>])
- Default:
none
- Usage:
--db-type
DB type
-
db_flavor
:- Type: Choice([<DbFlavor.MONGODB_ATLAS: 'mongodb_atlas'>, <DbFlavor.MONGODB_REPLICA_SET: 'mongodb_replica_set'>, <DbFlavor.MONGODB_SHARDED_CLUSTER: 'mongodb_sharded_cluster'>])
- Default:
none
- Usage:
--db-flavor
DB flavor
Output to directory or stdout
-
directory
:- Type: STRING
- Default:
none
- Usage:
--dir
Directory containing RDI configuration
-
preview
:- Type: STRING
- Default:
none
- Usage:
--preview
Print the content of the scaffolded config file to CLI output
-
help
:- Type: BOOL
- Default:
false
- Usage:
--help
Show this message and exit.
CLI help
Usage: redis-di scaffold [OPTIONS]
Generates configuration files for RDI
Options:
-l, --log-level [TRACE|DEBUG|INFO|WARNING|ERROR|CRITICAL]
[default: INFO]
--db-type [cassandra|mariadb|mongodb|mysql|oracle|postgresql|sqlserver]
DB type [required]
--db-flavor [mongodb_atlas|mongodb_replica_set|mongodb_sharded_cluster]
DB flavor
Output formats: [mutually_exclusive, required]
Output to directory or stdout
--dir TEXT Directory containing RDI configuration
--preview TEXT Print the content of the scaffolded config
file to CLI output
--help Show this message and exit.