• Jérome Perrin's avatar
    new `slapos console script.py`style invocation · 42cb1feb
    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
    
    or
     `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`
    
    
    /reviewed-on !39
    42cb1feb
Name
Last commit
Last update
documentation Loading commit data...
master Loading commit data...
slapos Loading commit data...
.gitignore Loading commit data...
CHANGES.txt Loading commit data...
MANIFEST.in Loading commit data...
README.txt Loading commit data...
bootstrap.py Loading commit data...
buildout.cfg Loading commit data...
computer_definition.cfg.example Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
slapos-client.cfg.example Loading commit data...
slapos-proxy.cfg.example Loading commit data...
slapos.cfg.example Loading commit data...