From 84b5b6ba00b88928f455adedb5659919af28af99 Mon Sep 17 00:00:00 2001 From: Oli Evans Date: Thu, 11 Jan 2024 11:36:54 +0000 Subject: [PATCH] chore: Apply suggestions from code review Co-authored-by: Alan Shaw --- README.md | 3 +-- bin.js | 2 +- index.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 32cc4f4..5c3ab5d 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ w3 up recipies.txt - [`w3 proof add`](#w3-proof-add-proofucan) - [`w3 proof ls`](#w3-proof-ls) - Key management -- [`w3 key create`](#w3-key-create) + - [`w3 key create`](#w3-key-create) - Advanced usage - [`w3 can space info`](#w3-can-space-info-did) coming soon! - [`w3 can space recover`](#w3-can-space-recover-email) coming soon! @@ -135,7 +135,6 @@ register the space with. - `--email` The email address of the account to associate this space with. - `--provider` The storage provider to associate with this space. - > By registering your w3up beta Space with [web3.storage](http://web3.storage/), you agree to the w3up beta [Terms of Service](https://console.web3.storage/terms). Until the beta period is over and this migration occurs, uploads to w3up will not appear in your web3.storage account (and vice versa), even if you register with the same email. ### `w3 space use ` diff --git a/bin.js b/bin.js index c8b5fd6..6ed89d1 100755 --- a/bin.js +++ b/bin.js @@ -297,7 +297,7 @@ cli cli .command('key create') - .describe('Print a new key pair. Does not change your current signing key') + .describe('Generate and print a new ed25519 key pair. Does not change your current signing key.') .option('--json', 'output as json') .action(createKey) diff --git a/index.js b/index.js index 8890d26..89fcc98 100644 --- a/index.js +++ b/index.js @@ -599,6 +599,6 @@ export async function createKey({ json }) { console.log(dagJSON.stringify(signer.toArchive())) } else { console.log(`# ${signer.did()}`) - console.log(`${key}`) + console.log(key) } }