• 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
..
cli Loading commit data...
collect Loading commit data...
grid Loading commit data...
manager Loading commit data...
proxy Loading commit data...
slap Loading commit data...
tests Loading commit data...
README.console.txt Loading commit data...
README.format.txt Loading commit data...
README.grid.txt Loading commit data...
README.manager.txt Loading commit data...
README.proxy.txt Loading commit data...
README.slap.txt Loading commit data...
__init__.py Loading commit data...
bang.py Loading commit data...
client.py Loading commit data...
format.py Loading commit data...
human.py Loading commit data...
slapos.xsd Loading commit data...
util.py Loading commit data...
version.py Loading commit data...