storyblok-cli
storyblok-cli copied to clipboard
feat: user cmd
Hi, this is the new implementation of the user commands for the renovated version of the CLI. Is a followup from #118
Please make sure to check the previous PR before this one.
How to test this PR
- Clone the repo and pull the branch
-
pnpm install
-
pnpm run build:stub
<-- Important you test it with stub for now
Once build without issues
- Use
pnpm run dev user
Unit test
There are 2 Test files related to this command
You can run the tests:
pnpm run test
And coverage
pnpm run coverage
Testing checklist
I'm including the same manual testing checklist I used during TDD
User
storyblok-cli user
- [ ] If user is logged should prompt a message like this
- [ ] If user is not logged in should return
You are not logged in. Please login first