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

muss "do" command for arbitrary tasks? #14

Open
rwstauner opened this issue Mar 19, 2021 · 0 comments
Open

muss "do" command for arbitrary tasks? #14

rwstauner opened this issue Mar 19, 2021 · 0 comments

Comments

@rwstauner
Copy link
Contributor

do_commands:
  docs: muss run something-to-generate docs
  pg_dump: muss run postgres env PGDATABASE=cluster3 pg_dump -h postgres -U postgres > tmp/muss.dumpall.sql
  pg_restore: muss exec postgres psql -h localhost -U get_smart -d postgres -f - < tmp/muss.dumpall.sql

Not sure about the command syntax though... do we put muss run in front of everything for maximum flexibility? or assume that commands would be run in a given container?
Then the do commands would be discoverable through muss help.

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

1 participant