Open homebysix opened 6 years ago
On subsequent runs, I realize the OSError is an unrelated issue on my Mac. Same thing happens with --version
:
$ /usr/local/bin/yo_scheduler --version
Traceback (most recent call last):
File "/usr/local/bin/yo_scheduler", line 294, in <module>
main()
File "/usr/local/bin/yo_scheduler", line 125, in main
run_yo_with_args(yo_args)
File "/usr/local/bin/yo_scheduler", line 181, in run_yo_with_args
call(args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
My initial suggestion to display --help
by default stands, though. Sorry for the confusion.
Aha! Yes @homebysix. I'm working through some polish with @mikemackintosh to solve this.
But this is probably because you didn't install Yo in the "normal" location.
Current behavior when no arguments are provided to yo_scheduler:
Perhaps a more desirable behavior would be to display the
--help
output: