Skip to main content

Module cli

Module cli 

Source
Expand description

clap argument structs for the jj-hooks binary.

Structs§

Cli
PushArgs
All flags that jj git push accepts and that we model explicitly. Anything unrecognized passes through via PushArgs::passthrough (the trailing -- escape hatch).

Enums§

Command
RunnerArg
StageArg

Functions§

push_argv
Reconstruct the argv list for jj git push from our parsed flags. Known flags emit their canonical form; unknown flags arrive via passthrough and are appended at the end.