update download app show me

This commit is contained in:
2025-03-30 20:23:45 +08:00
parent be6d7091c3
commit aadd8266b1
8 changed files with 132 additions and 30 deletions

View File

@@ -12,8 +12,11 @@ const tokenList = new Command('list')
.description('show token list')
// .option('-r --remove <number>', 'remove token by number')
.action(async (opts) => {
const res = queryLogin.cacheStore.cacheData;
console.log(util.inspect(res, { colors: true, depth: 4 }));
console.log('show token list');
queryLogin.cacheStore.init()
// const res = await queryLogin.cacheStore.cache.get('token');
console.log(queryLogin.cacheStore.cacheData);
// console.log(util.inspect(res, { colors: true, depth: 4 }));
});
token.addCommand(tokenList);
app.addCommand(token);