<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>As best as I can explain it: <br></div><div>- dancer2 on its own doesn't have enough information to do something, so it shows you a help page to point you in the right direction. This is the equivalent of just asking for help with dancer2 -h<br></div><div><br></div><div>- dancer2 help gen or dancer2 -h gen or dancer2 gen -h are all ways for invoking help on a subcommand (in this case, gen)<br></div><div><br></div><div>This is consistent with other CLI suites that implement subcommands, and how App::Cmd (the framework the CLI is built on) expects to work.<br></div><div><br></div><div>I'm not saying it's perfect, and I am *very* open for suggestions for how we can improve the end user experience. And as I have a few projects involving the CLI coming up, it's a good time to address them. But this in fact how it is expected to operate. <br></div><div><br></div><div>Hope this helps!<br></div><div>Jason</div><div><br></div><div>On Mon, Feb 8, 2021, at 3:54 PM, Gabor Szabo wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>I think running the dancer2 command is quite unclear:<br></div><div><br></div><div><div>dancer2 <command> [-?h] [long options...]<br></div><div> -? -h --help show help<br></div><div>Available commands:<br></div><div> commands: list the application's commands<br></div><div> help: display a command's help screen<br></div><div> gen: create new Dancer2 application<br></div></div><div><br></div><div><br></div><div><br></div><div>But if I run "dancer2 -h" as I think everyone would expect to get more help,<br></div><div>I just get back the same thing.<br></div><div><br></div><div><br></div><div>Only "dancer2 gen" gives me what I was looking for.<br></div><div><br></div><div>What do you think?<br></div><div><br></div><div>Gabor<br></div></div><div>_______________________________________________<br></div><div>dancer-users mailing list<br></div><div><a href="mailto:dancer-users@lists.preshweb.co.uk">dancer-users@lists.preshweb.co.uk</a><br></div><div><a href="https://lists.preshweb.co.uk/mailman/listinfo/dancer-users">https://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br></div><div><br></div></blockquote><div><br></div><div id="sig108844672"><div class="signature">--<br></div><div class="signature">Jason A. Crome / CromeDome<br></div><div class="signature">CPAN: <a href="https://metacpan.org/author/CROMEDOME">https://metacpan.org/author/CROMEDOME</a><br></div><div class="signature">GitHub: <a href="https://github.com/cromedome">https://github.com/cromedome</a><br></div><div class="signature">Twitter: <a href="https://twitter.com/cromedome">https://twitter.com/cromedome</a><br></div><div class="signature">Blog: <a href="https://cromedome.net">https://cromedome.net</a><br></div></div><div><br></div></body></html>