Skip to content

feat(core): support positional args as dynamic args as well #4621

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

Merged
merged 1 commit into from
Mar 31, 2025

Conversation

kindermoumoute
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Release note for CHANGELOG:

- Support different arguments with positional=true
- When multiple positional args are used, the last one of the ArgSpecs is actually positional, others are dymanic
- If a positional arg is passed dymanically `arg=value`, the value is used and no error are thrown

- Support different arguments with positional=true
- When multiple positional args are used, the last one of the ArgSpecs
  is actually positional, others are dymanic
- If a positional arg is passed dymanically `arg=value`, the value is used and no error are thrown

Signed-off-by: Olivier Cano <[email protected]>
@remyleone remyleone added this pull request to the merge queue Mar 31, 2025
Merged via the queue into master with commit 95148b6 Mar 31, 2025
16 checks passed
@remyleone remyleone deleted the allow-positional-in-rawargs branch March 31, 2025 08:01
Laure-di pushed a commit to remyleone/scaleway-cli that referenced this pull request Apr 4, 2025
Laure-di pushed a commit to Laure-di/scaleway-cli that referenced this pull request Apr 7, 2025
Laure-di pushed a commit to Laure-di/scaleway-cli that referenced this pull request Apr 9, 2025
Laure-di pushed a commit to Laure-di/scaleway-cli that referenced this pull request Apr 9, 2025
Laure-di pushed a commit to Laure-di/scaleway-cli that referenced this pull request Apr 10, 2025
Laure-di pushed a commit to Laure-di/scaleway-cli that referenced this pull request Apr 10, 2025
Laure-di pushed a commit to scaleway-bot/scaleway-cli that referenced this pull request May 15, 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.

2 participants