title: Displaying a confirmation after entering a Heroku command?
body: <p>I am using Heroku and normally I do commands like:</p>
  
  <pre><code>heroku run rake db:reset --app myapp
  </code></pre>
  
  <p>which resets my database. I have read online that Heroku didn't support all rake commands (including <code>db:reset</code>, but the article may be outdated? as it works fine for me)</p>
  
  <p>However,  I have a production app and a staging app and am concerned about my late night programming, with regards to an accidental hit of db:reset on my production app.</p>
  
  <p>Is there a way i could implement a prevention confirmation with a command like:</p>
  
  <pre><code>heroku run rake db:reset --app myapp or heroku run rake db:migrate --app myapp
  </code></pre>
  
  <p>or </p>
  
  <pre><code>git push production?
  </code></pre>