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

feat: Ability to set alias(es) for an installed binary #2032

Open
PRO-2684 opened this issue Jan 25, 2025 · 1 comment
Open

feat: Ability to set alias(es) for an installed binary #2032

PRO-2684 opened this issue Jan 25, 2025 · 1 comment

Comments

@PRO-2684
Copy link

Can we add an aliases field, that allows crate owners to specify aliases for the binary? For example:

# my_crate/Cargo.toml
[package.metadata.binstall]
aliases = ["mcr"]

Would install my_crate binary, and generate a symbolic link mcr pointingto that binary.

Related: rust - Is it possible to set aliases for a produced binary target?

@NobodyXu
Copy link
Member

Yes, I am willing to accept a PR for that!

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