hotel icon indicating copy to clipboard operation
hotel copied to clipboard

CLI ps, up, down

Open Ti-webdev opened this issue 9 years ago • 3 comments

Add CLI commands hotel ps — view runned apps hotel down — stop app (or kill) hotel up — up app hotel open — open project url in browser

Ti-webdev avatar Apr 25 '16 12:04 Ti-webdev

Also another one hotel restart -- stop the process and start it again

JanStevens avatar Aug 01 '16 19:08 JanStevens

I was looking for this today - is the HTTP event stream the only place where the status appears?

Madd0g avatar Mar 03 '17 12:03 Madd0g

  • [x] hotel ps This is partially covered by hotel ls. I’ll see if I can color the app name (black = proxy, green = running, gray = stopped, red = crashed) to provide more information here. I’ll also alias hotel ps to hotel ls.
  • [x] hotel up This should start the app running in the nearest parent directory by default. If there are multiple apps in that directory, it should ask you which one to start. It should also allow you to start any app by providing all or part of its name.
    $ hotel up
    my-first-app and my-other-app are running in this directory. Which one should be started?
    ❭ first # this should let you use the arrow keys to select an app
    my-first-app has been started.
    $ hotel up another
    another-app has been started.
    
  • [x] hotel down See above
  • [x] hotel open Same behavior as above, but doesn’t say anything after you run it — it should be pretty obvious since your browser just opened. (see opn)

Status:

j-f1 avatar Nov 06 '17 16:11 j-f1