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

add 'hid version' #9

Closed
genehack opened this issue Nov 5, 2013 · 2 comments
Closed

add 'hid version' #9

genehack opened this issue Nov 5, 2013 · 2 comments
Assignees
Labels

Comments

@genehack
Copy link
Owner

genehack commented Nov 5, 2013

because seriously

@ghost ghost assigned genehack Nov 19, 2013
@brianwisti
Copy link

BTW:

$ hid version
hid (HiD::App) version 1.91 (/Users/brianwisti/perl5/perlbrew/perls/perl-5.20.1/bin/hid)

Though it's not listed as a command.

$ hid help
hid <command>

Available commands:

  commands: list the application's commands
      help: display a command's help screen

    config: dump configuration
      init: initialize a new site
   publish: publish site
    server: HiD 'server' subcmd - start up a Plack-based web server for your site

I assume this is some kind of sorcery.

@genehack
Copy link
Owner Author

So, it turns out App::Cmd injects a `version' command for you (yay!) but hides it from the command list with no way to configure it not too do that (boo!)

Tracking on this issue : rjbs/App-Cmd#45

In the meantime, I will close this out, thanks for pointing out it works.

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

No branches or pull requests

2 participants