redis-di set-context
将上下文设置为活动上下文
用法
Usage: redis-di set-context [OPTIONS] CONTEXT_NAME
选项
-
loglevel
:- 类型:Choice(['DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'])
- 违约:
info
- 用法:
--loglevel -log-level
-
context_name
(必填):- 类型:STRING
- 违约:
none
- 用法:
context-name
-
help
:- 类型: BOOL
- 违约:
false
- 用法:
--help
显示此消息并退出。
CLI 帮助
Usage: redis-di set-context [OPTIONS] CONTEXT_NAME
Sets a context to be the active one
Options:
-log-level, --loglevel [DEBUG|INFO|WARN|ERROR|CRITICAL]
[default: INFO]
--help Show this message and exit.