Skip to content

Difference prompt and prompt-cli #297

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

Closed
1 task done
escapedcat opened this issue Feb 23, 2018 · 3 comments
Closed
1 task done

Difference prompt and prompt-cli #297

escapedcat opened this issue Feb 23, 2018 · 3 comments

Comments

@escapedcat
Copy link
Member

Using the prompt config like shown in the docs I get this in the terminal:

npm run commit

> nexible-frontend@1.0.0 commit /Users/hannes/data/src/sumcumo/nexible-frontend
> commit



Please enter a type: [required] [tab-completion] [header]
<type> holds information about the goal of a change.



<type>(<scope>): <subject>
<body>
<footer>


72 characters left
❯ type:

Changing the config to use commitizen as described here I get the same output.
Is this correct?

Expected Behavior

I expect that if using the commitizen version I get the question and can select answers using the arrow-keys.

Current Behavior

Same behaviour as using default prompt-cli.

Affected packages

  • prompt

Possible Solution

If this intended than the docs should be updated to what can be expected or what the purpose of prompt is. Or how it is different.

If this is not indeed what info do you need? I can create example repos if needed.

Or maybe I just didn't get it. If so I am happy to extend the docs to make this clearer for others.

@marionebl
Copy link
Contributor

Ok, sorry for the long wait. The output you see is expected for both prompt and prompt-cli.

To my knowledge there currently is no pure commitizien style adapter with multilselects that reads commitlint.config.js.

A doc improvement to explain this is very welcome!

@escapedcat
Copy link
Member Author

No worries. I'll get back to this soon and see what I can add. Thx!

@escapedcat
Copy link
Member Author

I'll close my own issue here because on the long run prompt will be removed I think

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

No branches or pull requests

2 participants