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

Improve onboarding #74

Open
stefanbuck opened this issue Sep 6, 2021 · 0 comments
Open

Improve onboarding #74

stefanbuck opened this issue Sep 6, 2021 · 0 comments

Comments

@stefanbuck
Copy link

Hi,

I really love the idea of ckp. I do rely on aliases and my terminal history a lot to re-run commands which is kind of working but not always.

After installing the ckp I was confronted with a weird error. Turns out I did not follow the setup instructions, in particular, I did not run ckp init.

I'm pretty sure I'm not the only one that skims the instructions. How about adding a setup validation step that runs on every command and prints a hint if the initialization step is missing.

Current behaviour

ckp add code 'echo hello'
Error: failed to pull remote changes: failed to fetch origin/main: chdir /Users/stefan/.ckp/repo: no such file or directory:

Expected behaviour

ckp add code 'echo hello'

Warning: The ckp storage repository is missing. Please run `ckp init` to complete the setup.

Looking forward to see how this project evolves, great work so far.

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