feat(models): add oauth auth health
This commit is contained in:
1 parent
bcec534e5e
commit
948ce5eb5f
19 files changed
+862
-179
No files matched your search
@@ -57,6 +57,11 @@ export function registerModelsCli(program: Command) {
|
||||
.description("Show configured model state")
|
||||
.option("--json", "Output JSON", false)
|
||||
.option("--plain", "Plain output", false)
|
||||
.option(
|
||||
"--check",
|
||||
"Exit non-zero if auth is expiring/expired (1=expired/missing, 2=expiring)",
|
||||
false,
|
||||
)
|
||||
.action(async (opts) => {
|
||||
try {
|
||||
await modelsStatusCommand(opts, defaultRuntime);
|
||||
|
||||
Reference in new issue
Block a user