You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, hi! I think it'd be handy to be able to define aliases in my config file to clean up repetitive commands I might want used across my team. For example allowing me to run kamal app console to get to my Rails console with the following config.
We might not want to pollute the cli with custom commands using names that might conflict with future features, so maybe it's all under kamal alias or kamal run or whatever.
If y'all are interested I'd be happy to knock together a PR for it.
The text was updated successfully, but these errors were encountered:
As a workaround, consider incorporating a Makefile into your project. This file can house the custom commands that you and your team frequently utilize.
example
logs.web:
kamal app logs -f -r web -d production
logs.job:
kamal app logs -f -r job -d production
prod.recalculate:
kamal app exec -d production -i --reuse 'bundle exec rake ranks:recalculate'
prod.console:
kamal app exec -d production -i --reuse './bin/rails c'
Hey, hi! I think it'd be handy to be able to define aliases in my config file to clean up repetitive commands I might want used across my team. For example allowing me to run
kamal app console
to get to my Rails console with the following config.We might not want to pollute the cli with custom commands using names that might conflict with future features, so maybe it's all under
kamal alias
orkamal run
or whatever.If y'all are interested I'd be happy to knock together a PR for it.
The text was updated successfully, but these errors were encountered: