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 should print usage info for shebang scripts #44

Open
lilyball opened this issue Dec 20, 2021 · 2 comments
Open

--help should print usage info for shebang scripts #44

lilyball opened this issue Dec 20, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@lilyball
Copy link

The --help right now just lists all the flags. It should also include info on how to write shebang scripts, both the cargo manifest version and the cargo-deps: version. This way I don't need to go to the website to remember how to write these, especially as there's no manpage.

@fornwall fornwall added the enhancement New feature or request label Dec 21, 2021
@lilyball
Copy link
Author

I keep running into this and keep having to consult the website anew to find the // cargo-deps: syntax, as I use this infrequently enough that I don't actually remember how to do it.

@memark
Copy link

memark commented Nov 2, 2022

This would be great!

Do note that specifying cargo deps and using a shebang (#!/usr/bin/env rust-script) are not the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants