Skip to content

Executable args CLI parsing format #325

@jahvon

Description

@jahvon

Enhancement Summary

Current Behavior

flow install tool dryrun=true name=dev pos1

Proposed Behavior

flow install tool -- --dryrun --name=dev pos1

Changes

  • Add -- separator before executable arguments
  • Use standard --flag and --flag=value syntax
  • Boolean flags can omit values (e.g., --dryrun implies true)
  • Positional arguments remain unchanged

Motivation

  • Aligns with POSIX standards and common CLI tools
  • Clearer separation between flow args and executable args
  • Better shell completion support

This will be a breaking change

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions