uutils / coreutils

Cross-platform Rust rewrite of the GNU coreutils
https://uutils.github.io/
MIT License
17.23k stars 1.24k forks source link

DRAFT: poc-manpages #6517

Open Its-Just-Nans opened 2 days ago

Its-Just-Nans commented 2 days ago

A full automatic build of manpage and completion on build.rs

inspired by https://github.com/bootandy/dust/blob/master/build.rs

Related to: https://github.com/uutils/coreutils/issues/4464

To test, remember to mkdir completion

Its-Just-Nans commented 2 days ago

At the moment the poc is working for a static utility (example here with arch)

Don't really know for now how to add the dynamic call of all uu_app()

src/args.rs is working but not clean

Looking for feedbacks or suggestions