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

Allow to select cargo command #109

Open
ayrat555 opened this issue Jan 2, 2021 · 1 comment
Open

Allow to select cargo command #109

ayrat555 opened this issue Jan 2, 2021 · 1 comment

Comments

@ayrat555
Copy link
Contributor

ayrat555 commented Jan 2, 2021

Problem:

Currently, cargo.el hardcodes commands that it can execute. It's not possible to execute a command that cargo.el is unaware of.

Solution:

cargo provides cargo --list command which lists all available commands. It can be used to select a command using completing-read.

This approach is used in mix.el - https://github.com/ayrat555/mix.el

@ayrat555
Copy link
Contributor Author

I implemented it in https://github.com/ayrat555/cargo-mode

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

1 participant