mirror of
https://github.com/langgenius/dify.git
synced 2026-06-19 16:41:09 +08:00
16 lines
272 B
TypeScript
16 lines
272 B
TypeScript
type CommandContext = {
|
|
verbose: boolean
|
|
}
|
|
|
|
const commandContext: CommandContext = {
|
|
verbose: false,
|
|
}
|
|
|
|
export function setVerbose(verbose: boolean): void {
|
|
commandContext.verbose = verbose
|
|
}
|
|
|
|
export function isVerbose(): boolean {
|
|
return commandContext.verbose
|
|
}
|