Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (command === 'create') {
- try {
- var createdAccount = createAccount({
- name: argv.name,
- username: argv.username,
- password: argv.password
- }, argv.masterPassword);
- console.log('Account created!');
- console.log(createdAccount);
- } catch (e) {
- console.log('Unable to create the account!');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement