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

cargo list (bins | tests | examples) #20

Closed
killercup opened this issue Oct 11, 2015 · 6 comments
Closed

cargo list (bins | tests | examples) #20

killercup opened this issue Oct 11, 2015 · 6 comments

Comments

@killercup
Copy link
Owner

As suggested by gkonz on reddit.

(This should be pretty easy and basically only list files in a directory.)

@killercup killercup changed the title cargo list (bins|tests|examples) cargo list (bins | tests | examples) Oct 11, 2015
@gkoz
Copy link

gkoz commented Oct 11, 2015

Also features. All of those would be handy for smart tab completion.

@killercup
Copy link
Owner Author

Good idea, @gkoz. I've created #21 for this since it's different from the ones suggested here (it deals with the manifest file). By the way, if you want to add this, go ahead :)

@gkoz
Copy link

gkoz commented Oct 11, 2015

Listing bins and tests is likely to require reading the manifest as well because it supports [[bin]] and [[test]] sections. Example.

@killercup
Copy link
Owner Author

Oh, right. So, we'll have to consider explicitly listed and implicitly
given bins|examples|tests.
Gleb Kozyrev notifications@github.com schrieb am So., 11. Okt. 2015 um
21:07:

Listing bins and tests is likely to require reading the manifest as well
because it supports [[bin]] and [[test]] sections. Example
https://github.com/gtk-rs/examples/blob/master/Cargo.toml#L17-L45.


Reply to this email directly or view it on GitHub
#20 (comment)
.

@killercup
Copy link
Owner Author

Could use cargo read-manifest

@killercup killercup added the easy label Feb 7, 2016
@killercup
Copy link
Owner Author

(Closing all cargo-list issues because cargo listwill be removed in the next version.)

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

No branches or pull requests

2 participants