• Jérome Perrin's avatar
    console: support new `slapos console script.py` invocation · afed8dd7
    Jérome Perrin authored
    To execute a slapconsole script, we could only do:
    `slapos console < script.py`
    but this does not stop in case of error
     `echo 'execfile("script.py")' | slapos console`
    but this is too complicated.
    Extend this API so that we can simply use
    `slapos console script.py`
    inspired by `python script.py`
cli.py 7.71 KB