web3-storage / w3up-cli

💻 Command line tools for web3.storage w3up IPFS upload API
Other
15 stars 2 forks source link

fix: import delegation alias #103

Closed vasco-santos closed 2 years ago

vasco-santos commented 2 years ago

Fixes alias for:

➜  w3up-cli git:(fix/import-delegation-alias) ✗ node src/cli.js import-delegation delegation.car testalias
✔ Imported delegation for testalias did:key:z6Mks2n8XVoqhhXyArKx7WxxCFPEWxJEcp5HERr7pW2KzLWU from delegation.car successfully.

➜  w3up-cli git:(fix/import-delegation-alias) ✗ node src/cli.js accounts
selected   alias       did
--------   --------    --------
*          self        did:key:z6Mkej48TJxzikp94tknz2pjJ5fc8AMjaicWLkn6wPLSFhvZ
           testalias   did:key:z6Mks2n8XVoqhhXyArKx7WxxCFPEWxJEcp5HERr7pW2KzLWU

➜  w3up-cli git:(fix/import-delegation-alias) ✗ node src/cli.js switch-account testalias
now using account: did:key:z6Mks2n8XVoqhhXyArKx7WxxCFPEWxJEcp5HERr7pW2KzLWU

➜  w3up-cli git:(fix/import-delegation-alias) ✗ node src/cli.js list
✔ Listing Uploads...
Date        Data CID
--------    --------
10/4/2022   bafybeifpnwjt6jl43yttpo64lhvbvfyepqsoj2cpoxaami6rk3x4kuwcty
github-actions[bot] commented 2 years ago

:tada: This PR is included in version 1.9.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: