-
- Notifications
You must be signed in to change notification settings - Fork 678
Asinit yes #1198
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
Asinit yes #1198
Conversation
| I used link locally and validated this works now. |
| What happens now if no first argument is provided, like just |
|
| We should make that better. :) |
| Also, could it be possible to default to |
webmaster128 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| All comments have been addressed. This is ready for review again. |
| Suggesting to make it so that the help message is shown if zero non-option arguments have been provided, similar to what asc and other tools are doing. |
Such that ? That would be a somewhat strange compisition of flags and positional argument. So I guess we'd have to give up the default value for the folder. No strong opinion here, but my intuition is that |
| I'm with @webmaster128 on this opinion, but I'm probably going to change it so that it shows the help screen with 0 arguments. |
| What I'm proposing is The check is basically |
| Okay, yeah, this is the giving up the default value for the folder route. I'm not a big fan of this, but it is consistent and makes sense in code and to the user. Go for it. |
| Sorry for the delay. I had other things to work on. I verified the proposal works by testing each input as suggested by @dcodeIO . |
| Thanks! But please reset the changes to package-lock before I merge :) |
| This should be all set now. Sorry for the trouble. Merge? 🙂 |
Fixes #1063
Open to suggestions. This seems to do the trick though.