Class: WorkingSetCli
- Includes:
- TTY::Option
- Defined in:
- lib/working_set_cli.rb
Defined Under Namespace
Classes: AppSupervisor
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/working_set_cli.rb', line 89 def run parse if params[:help] print help exit else init $supervisor = AppSupervisor.run! sleep 0.5 while $supervisor.alive? # I've need to occupy the main thread otherwise the program exits here. end end |