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 considered doing it at build time, but I didn't like it.
build.rs generating files that are checked into source control is seemingly discouraged. cargo will refuse to upload if a build script changes the contents of src. You're supposed to put them in $OUT_DIR, which isn't ergonomic.
The man pages are generated with help2man, and I don't think we can expect everyone to have that installed.
Although
build.rs
cannot import modules fromxh
, it is possible to use theinclude!()
to paste the content ofsrc/cli.rs
intobuild.rs
.See https://kbknapp.dev/shell-completions/
The text was updated successfully, but these errors were encountered: