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

Make manual installation install also man pages #111

Open
ghost opened this issue May 30, 2018 · 1 comment
Open

Make manual installation install also man pages #111

ghost opened this issue May 30, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented May 30, 2018

After running:

go get -u github.com/miquella/vaulted

I get vaulted in my $GOPATH/bin/vaulted, but it would be amazing if you could also make it so that manual pages would get installed to $GOPATH/share/man/man1/

Thanks to this, "man ..." would automatically work. Not sure if it's simple/complicated/possible/not-possible, as I don't write go myself, but that would be great addition.

@miquella
Copy link
Owner

miquella commented Oct 9, 2018

@depesz: Unfortunately, go get doesn't provide a method to install additional files alongside the vaulted executable itself.

However, Vaulted does include embedded man pages that can be accessed with --help on each subcommand! For example, vaulted shell --help will launch man to display the embedded man page for the vaulted shell subcommand.

Perhaps we could consider a way to extract the embedded man pages and write them out somewhere. I'll have to think about that a bit!

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

1 participant