Skip to content

Commit

Permalink
Allow entrypoint action for script action
Browse files Browse the repository at this point in the history
  • Loading branch information
BoPeng committed Oct 4, 2023
1 parent 82ecc18 commit b48a656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sos/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def sos_run(workflow=None, targets=None, shared=None, args=None, source=None, **
env.sos_dict.set("step_name", my_name)


@SoS_Action(acceptable_args=["script", "interpreter", "suffix", "args"])
@SoS_Action(acceptable_args=["script", "interpreter", "entrypoint", "suffix", "args"])
def script(script, interpreter="", suffix="", args="", entrypoint="", **kwargs):
"""Execute specified script using specified interpreter. This action accepts common
action arguments such as input, active, workdir, docker_image and args. In particular,
Expand Down

0 comments on commit b48a656

Please sign in to comment.