AcademySoftwareFoundation / AcademySoftwareFoundation/rez

rez-python does not pass command-line flags to script

Open
#242 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1.1k
Forks
369
Avg merge
12d 3h
Merged PRs (30d)
5

Description

When rez-python is used as a script interpreter (i.e. #!/usr/bin/env rez-python), command-line flags (- and -- options) are processed by rez-python instead of being passed through as arguments to the script.

Contributor guide

Open the contributing guide

Research direction

Start at the rez-python command-line entry point and reproduce the issue using a script invoked through a #!/usr/bin/env rez-python shebang with short and long flags. Trace how arguments are parsed, then verify that the script receives its command-line options unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.