Bugswriter / tuxi

Tuxi is a cli assistant. Get answers of your questions instantly.
GNU General Public License v3.0
1.33k stars 73 forks source link

Add a man page, update Makefile to copy man page to path. #100

Closed rushdabs closed 3 years ago

rushdabs commented 3 years ago

I added a man page (tuxi.1) in the project root. In the Makefile, it copies the man page to path and uses gzip to compress it.

Bugswriter commented 3 years ago

Do we need this ? @colonvirus @officialcactar @owl4ce

owl4ce commented 3 years ago

That's better, I think. But if a feature is added in tuxi, please also match readme and man pages. There will be more work here. Also, to curl means to stay single tuxi without man pages, etc.

colonvirus commented 3 years ago

You should add examples, cuz this just seems like a glorified help text

Bugswriter commented 3 years ago

That's better, I think. But if a feature is added in tuxi, please also match readme and man pages. There will be more work here. Also, to curl means to stay single tuxi without man pages, etc.

We can add about our priority order and how tuxi is working in man page

owl4ce commented 3 years ago

Also that's make unistall option doesn't define deleting man pages yet.

It's should be this

uninstall:
    rm -f ${DESTDIR}${PREFIX}/bin/tuxi
    rm -f ${DESTDIR}${PREFIX}/man/man1/tuxi.1.gz

I don't understand how to create man pages yet, BTW. @rushdabs

Bugswriter commented 3 years ago

Please give PR for develop branch ..not in main. I think I should restrict people to give PR in main.

rushdabs commented 3 years ago

You should add examples, cuz this just seems like a glorified help text

Yes. I thought of doing so too. But I'm not so good at groff. I thought someone here could help me.

rushdabs commented 3 years ago

I'm closing this PR for now. Will create another one in develop branch after adding examples and necessary Makefile changes.