thoughtbot / parity

Shell commands for development, staging, and production parity for Heroku apps
https://thoughtbot.com
MIT License
889 stars 57 forks source link

Run tasks using parity #193

Closed Vin0uz closed 3 years ago

Vin0uz commented 3 years ago

👋

First of all, thanks for Parity, I love it !

I often run tasks manually on my staging environnement, and end up doing a boring heroku run rails foo:bar --remote staging and I've been wondering if we could add this possibility, and have something like staging task foo:bar ? I can propose a diff if you guys agree with it :)

geoffharcourt commented 3 years ago

@Vin0uz this is already doable with staging run rake foo:bar! staging acts as heroku <all passed args> --remote staging.

Vin0uz commented 3 years ago

Oh right ! I naively thought about skipping the run part 🤦‍♂️ Thanks for clearing this up 👍