plushu / plushu-apps

Miscellaneous app management commands
MIT License
0 stars 0 forks source link

The `run` (sub)command(s): `apps:run` vs `plushu-run` #3

Open stuartpb opened 10 years ago

stuartpb commented 10 years ago

Heroku's run docs:

Usage: heroku run COMMAND

 run an attached dyno

 -s, --size SIZE      # specify dyno size

Example:

 $ heroku run bash
 Running `bash` attached to terminal... up, run.1
 ~ $

Additional commands, type "heroku help COMMAND" for more details:

  run:console [COMMAND]  #  open a remote console session
  run:detached COMMAND   #  run a detached dyno, where output is sent to your logs
  run:rake COMMAND       #  WARNING: `heroku run:rake` has been deprecated. Please use `heroku run rake` instead."

So, of these, we can do run and run:console, the distinction between which I'm not exactly clear.

stuartpb commented 10 years ago

This should probably be a separate run plugin to match heroku and dokku (although I do hate this incredibly niche command getting such a generic large name).

stuartpb commented 10 years ago

On further investigation, run:console is a Bamboo-era command that has since been removed, although its documentation hasn't. So basically just run. (run:detached could maybe be implemented too: might need a better logging solution first.)