You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI: improve display of core API in --help output #6358
#6293 exposed the core API in dagger call, which results in --help and dagger functions output to be pretty overwhelming and messy when dealing with core types like Container.
There's most likely going to be a lot of little things needed to address this, possibly including but not limited to:
displaying multi-line doc strings better
sorting of functions more cleanly
I think we should start out trying to do this purely from the CLI without engine-side changes. But if that ends up not being feasible then we can consider whether typedefs could get optional support for annotating CLI specific presentation metadata. Preferable to avoid going down that road if possible though.
changed the title [-]CLI: improve display of core API in `--help` and `dagger functions` output[/-][+]CLI: improve display of core API in `--help` output[/+]on Feb 1, 2024
Activity
helderco commentedon Jan 3, 2024
Maybe:
--helpfor function/sub-command specificallyhelderco commentedon Jan 29, 2024
Started working on this and there's more changes to the above list. I'll list them in the PR and we can go from there.
helderco commentedon Feb 1, 2024
dagger functionswas cleaned in:[-]CLI: improve display of core API in `--help` and `dagger functions` output[/-][+]CLI: improve display of core API in `--help` output[/+]