--- Title: redis-di set-context linkTitle: redis-di set-context description: Sets a context to be the active one weight: 10 alwaysopen: false categories: ["redis-di"] aliases: --- ## Usage ``` Usage: redis-di set-context [OPTIONS] CONTEXT_NAME ``` ## Options - `log_level`: - Type: Choice(['TRACE', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']) - Default: `info` - Usage: `--log-level -l` - `context_name` (REQUIRED): - Type: STRING - Default: `none` - Usage: `context-name` - `help`: - Type: BOOL - Default: `false` - Usage: `--help` Show this message and exit. ## CLI help ``` Usage: redis-di set-context [OPTIONS] CONTEXT_NAME Sets a context to be the active one Options: -l, --log-level [TRACE|DEBUG|INFO|WARNING|ERROR|CRITICAL] [default: INFO] --help Show this message and exit. ```