You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hamilton.apache.org by "zilto (via GitHub)" <gi...@apache.org> on 2025/05/19 19:34:09 UTC
Re: [I] hamilton cli script errors with `--help` [hamilton]
zilto commented on issue #1309:
URL: https://github.com/apache/hamilton/issues/1309#issuecomment-2892070537
Also, I couldn't find the lines that triggers the reported anywhere in the Hamilton codebase.
> ```py
> │ /private/tmp/test/.venv/bin/hamilton:8 in <module> │
> │ │
> │ 5 from hamilton.cli.__main__ import cli │
> │ 6 if __name__ == "__main__": │
> │ 7 │ sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0]) │
> │ ❱ 8 │ sys.exit(cli())
> ```
It seems that you're trying to invoke the CLI via Python. If this access pattern isn't supported, the issue is outside the Hamilton repo
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@hamilton.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org