-
Notifications
You must be signed in to change notification settings - Fork 8
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
Command aliases #81
Comments
Hi, I like this idea. Is seems like Also, I have another idea to reach the same result. How it might look like: shell: bash
before: |
function my_docker() {
docker run --rm -v ${PWD}:/go/src/app helloworld "$@"
}
commands:
run:
cmd: my_docker go test But, as I can tell, its a bit different from an Anyway, aliases seem ok and feels like it solves the problem |
Also, I was thinking about an
|
Wow. concernedly:
commands:
upgrade:
cmd: alembic upgrade head
aliases:
- migrate
- apply
- up |
Implemented |
It's quite a nice feature to have an opportunity to make command aliases/command prefix shortcuts. Sometimes
lets.yaml
may look like this:In this case command shortcuts would shorten general commands' length, like this:
Character
@
or%
or some other one can be used as a placeholder identifier.The text was updated successfully, but these errors were encountered: