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

Turn off cli args type detection by default #17

Closed
sindresorhus opened this issue Nov 17, 2015 · 6 comments
Closed

Turn off cli args type detection by default #17

sindresorhus opened this issue Nov 17, 2015 · 6 comments

Comments

@sindresorhus
Copy link
Owner

Can be turned on in an option.

I've had so many problems with it.

The latest: chalk/chalk-cli#2

What should the option be named?

Note to self: Remove all instances of string: ['_'] in my modules when this is done.

@SamVerschueren
Copy link
Contributor

👍 Having the same issue when providing a numeric username in dev-time-cli.

@nevilgeorge-zz
Copy link

Are we thinking of parsing everything as strings? Can the option be something like --type? I think I can help, with some more guidance!

@sindresorhus
Copy link
Owner Author

Yes, with a meow option to turn on type detection again, but should be off by default.

@SamVerschueren
Copy link
Contributor

What are the possibilities here?

  • typeDetect
  • autoDetect
  • type
  • autotype
  • types

@sindresorhus
Copy link
Owner Author

  • inferType

@SamVerschueren
Copy link
Contributor

Works for me :)

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

Successfully merging a pull request may close this issue.

3 participants