10000 Document walletUrl option (it already works, just doesn't show in help) by janedegtiareva · Pull Request #232 · near/near-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Document walletUrl option (it already works, just doesn't show in help) #232

Merged
merged 1 commit into from
Jan 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion bin/near-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ const exitOnError = require('../utils/exit-on-error');
const login = {
command: 'login',
desc: 'logging in through NEAR protocol wallet',
builder: (yargs) => yargs,
builder: (yargs) => yargs
.option('walletUrl', {
desc: 'URL of wallet to use',
type: 'string',
required: false
}),
handler: exitOnError(main.login)
};

Expand Down
0