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

Enhancement request: TUI should display help for arguments (not just parameters) #52

Open
barrywhart opened this issue Jul 11, 2023 · 0 comments

Comments

@barrywhart
Copy link

I'm adding Trogon support to a script that uses both arguments and parameters. The click help displays help text for the arguments, e.g.:

python src/airflow_log_search.py mlops-pod-logs --help
╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    dag                 TEXT              Airflow DAG ID, e.g. recs_sku_coview [default: None] [required]                   │
│ *    task_id             TEXT              Airflow task ID, e.g. predict_batch [default: None] [required]                    │
│      execution_date      [EXECUTION_DATE]  DAG execution date, e.g. 2023-07-06T19:52:45.488702+00:00 [default: None]         │
│      try_number          [TRY_NUMBER]      Task try number, e.g. 1 [default: 1]                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

However, the TUI for the same script does not display the help text for arguments, only for parameters:
image

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

No branches or pull requests

1 participant