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

Add :cargo command #101

Open
sigmaSd opened this issue Nov 5, 2022 · 0 comments
Open

Add :cargo command #101

sigmaSd opened this issue Nov 5, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@sigmaSd
Copy link
Owner

sigmaSd commented Nov 5, 2022

Currently we have a lot of commands like :expand :asm that just wraps cargo plugins, I don't think its realistic to support all cargo plugins.

The user currently can use irust scripts for unimplemented commands but that seems to much work.

I propose adding :cargo $args command that just invokes cargo inside irust repl directory and forwards the user argument to it.
I think it should make things a lot better.

One implementation note, parsing user arguments should take in consideration arguments in quotes like :cargo plugin "quoted arg" arg2

@sigmaSd sigmaSd added the good first issue Good for newcomers label Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant