Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !39

new `slapos console script.py`style invocation

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge jerome/slapos.core:feat/slapconsole_script into master Mar 07, 2018
  • Overview 7
  • Commits 2
  • Pipelines 0
  • Changes 2

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feat/slapconsole_script
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7