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

Possibility to filter stories with CLI param #10

Open
jack-sf opened this issue Jan 28, 2019 · 2 comments
Open

Possibility to filter stories with CLI param #10

jack-sf opened this issue Jan 28, 2019 · 2 comments

Comments

@jack-sf
Copy link
Contributor

jack-sf commented Jan 28, 2019

Feature request: For example, npm run happo --only Button would only compile and run stories that have Button in their story name (or in the story filename).

@trotzig
Copy link
Contributor

trotzig commented Feb 27, 2019

This is in fact a bug/quirk with the happo-plugin-storybook plugin. If you use the default Happo way of defining examples (via -happo.js files), you can run with the --only flag.

@jack-sf
Copy link
Contributor Author

jack-sf commented Feb 28, 2019

Yeah, but we could somehow enhance this plugin so it supports this --only option as well.

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

2 participants