From ee9c573bba9b7577050fd6a173a37904b340cc4e Mon Sep 17 00:00:00 2001 From: abearxiong Date: Tue, 10 Mar 2026 23:55:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E8=AF=A6=E7=BB=86=E4=BF=A1=E6=81=AF=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E5=88=B0=E5=88=9B=E5=BB=BA=E4=BB=A4=E7=89=8C=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/command/ls-token.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/command/ls-token.ts b/src/command/ls-token.ts index 82add09..5efe738 100644 --- a/src/command/ls-token.ts +++ b/src/command/ls-token.ts @@ -3,6 +3,7 @@ import { getConfig, getEnvToken, writeConfig } from '@/module/index.ts'; import { queryLogin, storage } from '@/module/query.ts'; import { input } from '@inquirer/prompts'; import { Kevisual } from '@/module/kevisual.ts'; +import { showMore } from '@/uitls/show-more.ts'; function isNumeric(str: string) { return /^-?\d+\.?\d*$/.test(str); } @@ -50,6 +51,8 @@ const createToken = new Command('create') const jwtToken = res.data?.accessToken; console.log('============jwt token============\n\n'); console.log(jwtToken); + } else { + console.log('create token failed', showMore(res)); } });