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 command shortcuts #34

Open
AccessViolation95 opened this issue Jun 22, 2024 · 3 comments
Open

Add command shortcuts #34

AccessViolation95 opened this issue Jun 22, 2024 · 3 comments

Comments

@AccessViolation95
Copy link

I think it would be nice if the query and lookup commands had the respective shorthands q and l. Similarly to how you can type cargo c instead of cargo check for example.

@partim
Copy link
Member

partim commented Jun 25, 2024

That’s indeed something that would be nice to have. Thank you for the suggestion!

We were also thinking to add a facility so that dnsi checks what it was called at and if it is, e.g., dq, it runs the query command. Then you can just symlink it to dq if you want to – we can add that by default in our binary packages as well.

@AccessViolation95
Copy link
Author

AccessViolation95 commented Jun 25, 2024

That's an interesting idea. I wonder, would this be compatible with the cargo install installation method? I'm not sure, but if not, it would be nice to also have the subcommand shorthands to make up for the lack of dq and dl in that case

@partim
Copy link
Member

partim commented Jun 25, 2024

I don’ t think cargo install can make symlinks.

We would indeed provide both.

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