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
I like this idea. A bit concerned about dynamically generated actions (once we figure out how to do that nicely with cue/flow), because I don't see how we could do this well in that case.
But being able to see what is going to run, including having visual representations of it... would be sick.
As useful as dagger plan would be, I think a lot of the benefit could be won for (I /think/!) somewhat less effort: adding a --all or --recursive flag to dagger do --help, that walks the tree and pretty-prints all the runnable actions+doc-comments that are present in the Plan.
I.e. exactly as dagger do [action] --help does right now, but /not/ stopping at the level of the DAG that the user indicated.
I agree with need something like this to introspect the DAG without running it. As an alternative, it could be a simple dagger do [action] --dry-run instead of a new command. The plan will need an optional action name since technically, each action is a distinct DAG.
Activity
jlongtine commentedon Apr 29, 2022
I like this idea. A bit concerned about dynamically generated actions (once we figure out how to do that nicely with
cue/flow), because I don't see how we could do this well in that case.But being able to see what is going to run, including having visual representations of it... would be sick.
jpluscplusm commentedon May 8, 2022
As useful as
dagger planwould be, I think a lot of the benefit could be won for (I /think/!) somewhat less effort: adding a--allor--recursiveflag todagger do --help, that walks the tree and pretty-prints all the runnable actions+doc-comments that are present in the Plan.I.e. exactly as
dagger do [action] --helpdoes right now, but /not/ stopping at the level of the DAG that the user indicated.samalba commentedon May 10, 2022
I agree with need something like this to introspect the DAG without running it. As an alternative, it could be a simple
dagger do [action] --dry-runinstead of a new command. The plan will need an optional action name since technically, each action is a distinct DAG.shykes commentedon May 10, 2022
Could this be part of #2331 ?