Skip to content

Commit

Permalink
feat(account): accept password in env variable, notice password recorded
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Apr 15, 2024
1 parent af5bad8 commit 302c8b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/arguments.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export const gasPriceOption = (usingNode) => new Option('--gasPrice [gasPrice]',

export const forceOption = new Option('-f, --force', 'Ignore node version compatibility check');

export const passwordOption = new Option('-P, --password [password]', 'Wallet Password');
export const passwordOption = new Option('-P, --password [password]', 'Wallet Password, may be recorded to shell history')
.env('AECLI_WALLET_PASSWORD');

export const ttlOption = (usingNode) => new Option('-T, --ttl [ttl]', 'Validity of the transaction in number of keyblocks, or without this limit if 0')
.default(noValue, usingNode ? 3 : 0);
Expand Down

0 comments on commit 302c8b3

Please sign in to comment.