You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/18 03:35:59 UTC

[GitHub] [apisix-dashboard] fregie edited a comment on pull request #1902: feat: separate entry in a simple function

fregie edited a comment on pull request #1902:
URL: https://github.com/apache/apisix-dashboard/pull/1902#issuecomment-842799977


   > You'd better not create a new main.go.
   > 
   > Please take a look at the usage of https://github.com/spf13/cobra.
   > It's really a good project.
   @starsz 
   I know how powerful cobra is,but manager-api is just a http server,not a cli tool need a lot of subcommend,all things need to do is start the service and stop the service.In fact,I don't think we even need any subcommands or arguments in most cases,especially  as a stateless service running in a container.
   If we can keep it less,why don't we?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org