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

How to specify input arguments for arbitrary shell scripts #49

Open
GeigerJ2 opened this issue Nov 27, 2024 · 0 comments
Open

How to specify input arguments for arbitrary shell scripts #49

GeigerJ2 opened this issue Nov 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@GeigerJ2
Copy link
Collaborator

GeigerJ2 commented Nov 27, 2024

cli_arguments:
    positional: [data1, data2]
    keyword:
        --input: obs_data
    flags:
        - --overwrite
    source_file: <path-to-file-that-should-be-sourced-before>

Keyword arguments are basically already being handled by input_arg_options, and flags by command_option, though, I find this naming very non-intutive, and would vouch for the one given above.

Note to self, the subclassing to ShellTask and IconTask is also being worked on in #59 and #62.

@GeigerJ2 GeigerJ2 added this to the Early users milestone Nov 27, 2024
@GeigerJ2 GeigerJ2 changed the title Add subsections positional and keyword to input_arg_options How to specify input arguments for arbitrary shell scripts Nov 27, 2024
@GeigerJ2 GeigerJ2 self-assigned this Nov 27, 2024
@leclairm leclairm added the enhancement New feature or request label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants