mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-10-30 06:13:11 +08:00
Refactor command exports to use specific command groups for app, bundle, package, user, and version modules
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user