Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide more documentation and a manpage #6

Open
arnaudquette-eaton opened this issue Dec 28, 2024 · 3 comments
Open

Provide more documentation and a manpage #6

arnaudquette-eaton opened this issue Dec 28, 2024 · 3 comments

Comments

@arnaudquette-eaton
Copy link

arnaudquette-eaton commented Dec 28, 2024

One thing missing, and also compared to alien, is additional documentation and a manpage.

xenomorph misses the base build instructions (and for RUST newcomers like me, it's an issue :D) and usage instructions too.

README.md and xenomorph -h output are already great bases.
alien' manpage can be used as a good complement.
markdown format can be used with cargo mandown.

My proposal is to rewrite README.md to make it more complete, and eligible to mandown conversion for a real manpage and more complete xenomorph documentation.

Note: the remaining issue is that, to be fully manpage ready, README.md would look like

NAME

xenomorph - Shapeshift between package formats

SYNOPSIS

xenomorph [options] file [...]
...

DESCRIPTION

A tool that converts
....

@pluiedev
Copy link
Owner

pluiedev commented Dec 28, 2024

I mean, the compile instructions are literally cargo build --release. It's not rocket science...

Also, I don't like having the README be structured like a man page. It's simply too rigid for what's supposed to be a simple introductory file.

@arnaudquette-eaton
Copy link
Author

arnaudquette-eaton commented Dec 29, 2024

for RUST newcomers like me, cargo build --release (and the toolchain setup) was a small challenge :)
along with few RUST tricks that I had to learn... I'll post some notes.

I'm also not in favor of the manpage structure for the README, I'll check to PoC something.

I hope you appreciate my feedback, and support. I feel not, but I may be wrong :D

@arnaudquette-eaton
Copy link
Author

arnaudquette-eaton commented Dec 29, 2024

see

I'll also go for https://www.gnu.org/software/help2man/ for generating the manpage.
see attachment
xenomorph.1.txt

Possibly with few additions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants