Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authorize should set current space #77

Open
olizilla opened this issue May 3, 2023 · 0 comments
Open

authorize should set current space #77

olizilla opened this issue May 3, 2023 · 0 comments

Comments

@olizilla
Copy link
Contributor

olizilla commented May 3, 2023

If you authorize a brand new cli instance, you still need to explicitly set your space to be the current space. It should be set for you.

❯ w3-next authorize [email protected]
⁂ agent authorized to use capabilities delegated to [email protected]

❯ w3-next up j5
Error: missing current space: use createSpace() or setCurrentSpace()

❯ w3-next space ls
  did:key:z6Mkunm251eKgDrzdkXQhB5GHaUHSCAhjstaQod48mBjgK86 

❯ w3-next space use did:key:z6Mkunm251eKgDrzdkXQhB5GHaUHSCAhjstaQod48mBjgK86
did:key:z6Mkunm251eKgDrzdkXQhB5GHaUHSCAhjstaQod48mBjgK86

❯ w3-next space ls
* did:key:z6Mkunm251eKgDrzdkXQhB5GHaUHSCAhjstaQod48mBjgK86 

❯ w3-next up j5
  10 files (3.4MB)
  bagbaierarc4u2utrbkyx5gxwrth62zfynsc4jak3qzzl63vva64baw3cbqkq
⁂ Stored 10 files
⁂ https://w3s.link/ipfs/bafybeihetumsy24mjzbts7t4vpft2rwput44joxxnzxhfh5woq6z46fe2y

similar to #75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant