Hacker News new | past | comments | ask | show | jobs | submit | danielgtaylor's comments login

Thanks!


Not really. 99% of the time you would register the start hook, and it's a good idea to register a stop hook as well. Keep in mind the CLI is completely optional so if you already use the built-in option parsing or Cobra or something else you can keep using that.

I guess if for example you were just using Huma to generate OpenAPI from some Go code and dump that to the terminal or a file you might skip the start hook.


We'd love to get some feedback! https://github.com/boto/boto3


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: