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

Run CLI stylelint without params should output help #1557

Closed
alexander-akait opened this issue Jun 29, 2016 · 6 comments
Closed

Run CLI stylelint without params should output help #1557

alexander-akait opened this issue Jun 29, 2016 · 6 comments
Assignees
Labels
status: wip is being worked on by someone type: enhancement a new feature that isn't related to rules

Comments

@alexander-akait
Copy link
Member

If i run in cli:

stylelint

Should output help (stylelint -h)

@alexander-akait alexander-akait added the status: needs discussion triage needs further discussion label Jun 29, 2016
@jeddy3
Copy link
Member

jeddy3 commented Jun 29, 2016

If this is standard practice then OK by me.

@alexander-akait
Copy link
Member Author

@jeddy3

eslint

Show help, @davidtheclark that do you think?

@davidtheclark
Copy link
Contributor

That seems weird to me. Do other CLIs do this, besides ESLint?

@alexander-akait
Copy link
Member Author

@davidtheclark yes webpack, postcss-cli, npm-run-all and many other.

@m-allanson
Copy link
Member

I think it's quite common behaviour for CLI programs that require options to run. Picking a few examples from the node_modules/.bin/ folder of my current project: jspm, webpack, svgo and traceur all exhibit similar behaviour. Also try cp, ssh or mv in a terminal to see shell examples.

@davidtheclark
Copy link
Contributor

davidtheclark commented Jun 29, 2016

Ok, sounds good to me.

@m-allanson m-allanson added status: ready to implement is ready to be worked on by someone type: enhancement a new feature that isn't related to rules and removed status: needs discussion triage needs further discussion labels Jun 29, 2016
@alexander-akait alexander-akait self-assigned this Jul 1, 2016
alexander-akait added a commit that referenced this issue Jul 1, 2016
@jeddy3 jeddy3 added status: wip is being worked on by someone and removed status: ready to implement is ready to be worked on by someone labels Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: wip is being worked on by someone type: enhancement a new feature that isn't related to rules
Development

No branches or pull requests

4 participants