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

WIP: Shell tasks for WorkGraph with pinned old version #69

Closed
wants to merge 10 commits into from

Conversation

GeigerJ2
Copy link
Collaborator

@GeigerJ2 GeigerJ2 commented Dec 18, 2024

For easy diff

leclairm and others added 10 commits December 17, 2024 14:44
TODO remove expandvars hack, use by default local folder

TODO remove example reference from tests
This PR adds the `_CliArgsBaseModel` class (inspired from `_WhenBaseModel`), which replaces the `command_option` and `input_arg_options` of the `ConfigShellTaskSpecs`. Validation is applied on the correctness of the keyword and positional arguments to ensure they start with `-` or `--`.

The three test YAML files are updated accordingly, leading to changes in the pretty-print test text files, which is also part of the PR.

Actually making something useful out of these arguments only happens when the WG is created, so will require #45 to be merged.
Create `svg` files in subdirectory under `tests/files/svgs` instead of top-level directory, and ignore them via `.gitignore`, while syncing the `svgs` directory.
@agoscinski agoscinski force-pushed the workgraph branch 6 times, most recently from 230e890 to d225c2d Compare January 1, 2025 17:27
@agoscinski
Copy link
Collaborator

Should be now completely merged over to #45

@agoscinski agoscinski closed this Jan 1, 2025
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.

3 participants