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

Help references lucky cli helper even when not using lucky #13

Open
matthewmcgarvey opened this issue Sep 16, 2022 · 3 comments
Open

Help references lucky cli helper even when not using lucky #13

matthewmcgarvey opened this issue Sep 16, 2022 · 3 comments

Comments

@matthewmcgarvey
Copy link
Member

I'm adding this shard into a project not using lucky. I noticed that a help message references the lucky cli command even though this project does not use lucky.

❯ crystal tasks.cr
Missing a task name

To see a list of available tasks, run lucky --help

I'm not sure what it should say instead, or if this should even be addressed.

@jwoertink
Copy link
Member

I think it's fine since this isn't really meant or designed to be used outside of Lucky, although it is fairly generic. But the other part too is luckyframework/lucky_cli#771 will probably change how that functions anyway. I was thinking lucky -h would no longer need to compile, and just return the options, then you'd run lucky tasks or something to see a list of tasks, and that would compile. Or I guess crystal tasks.cr -- tasks? 🤷‍♂️

@matthewmcgarvey
Copy link
Member Author

Could there be a way to get the exact command that was run and substitute that?

@jwoertink
Copy link
Member

ARGV? I guess since it's a runtime message, it should be possible.

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