1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-10-30 06:13:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Refactor command exports to use specific command groups for app, bundle, package, user, and version modules

This commit is contained in:
sunnylqm
2025-06-23 11:30:36 +08:00
parent 2cfe451db5
commit 91a602979d
6 changed files with 15 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ function md5(str: string) {
return crypto.createHash('md5').update(str).digest('hex');
}
export const commands = {
export const userCommands = {
login: async ({ args }: { args: string[] }) => {
const email = args[0] || (await question('email:'));
const pwd = args[1] || (await question('password:', true));