--- Title: redis-di scaffold linkTitle: redis-di scaffold description: Generates configuration files for RDI weight: 10 alwaysopen: false categories: ["redis-di"] aliases: --- ## 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([, , , , , , ]) - Default: `none` - Usage: `--db-type` DB type - `db_flavor`: - Type: Choice([, , ]) - 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. ```