Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass along extra arguments to shell command as shell_args #36

Merged
merged 1 commit into from
May 8, 2024

Conversation

ryanhamel
Copy link
Contributor

@ryanhamel ryanhamel commented May 8, 2024

Allows extra arguments passed to az* shell -s script.py as a local variable "shell_args"

cat >script.py<<EOF
print(shell_args)
EOF
azscale (or azslurm etc) shell -s script.py a b c

["a", "b", "c"]

@ryanhamel ryanhamel requested a review from aditigaur4 May 8, 2024 19:21
@aditigaur4 aditigaur4 merged commit 7efe62e into master May 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants