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 2020/12/04 14:53:26 UTC

[GitHub] [apisix] tokers opened a new issue #2972: [DISCUSS] rich command line options to enhance the bin/apisix

tokers opened a new issue #2972:
URL: https://github.com/apache/apisix/issues/2972


   ### Issue description
   
   We have almost finished the first step for refactoring `bin/apisix` (only https://github.com/apache/apisix/pull/2929 is pending), and the next step we should do is introducing a well-designed command line parser (like https://github.com/mpeterv/argparse, which is used by luarocks), refining some necessary command line options, enhancing a higher flexibility.


----------------------------------------------------------------
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



[GitHub] [apisix] tokers commented on issue #2972: [DISCUSS] rich command line options to enhance the bin/apisix

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #2972:
URL: https://github.com/apache/apisix/issues/2972#issuecomment-739668621


   > I have the same idea.
   > I think bin/apisix may contain some options to get config.
   > How about this?
   > 
   > `./bin/apisix upstream get u1`
   > `./bin/apisix consumer get c1`
   
   That should belong the sub command like config.
   
   ```
   ./bin/apisix config upstream u1
   ./bin/apisix config consumer c1
   ```


----------------------------------------------------------------
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



[GitHub] [apisix] tokers commented on issue #2972: [DISCUSS] rich command line options to enhance the bin/apisix

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #2972:
URL: https://github.com/apache/apisix/issues/2972#issuecomment-739932744


   > Do we need a new bin file for this tool? 
   
   We'd better to use the current one and keep the backward compatibility.


----------------------------------------------------------------
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



[GitHub] [apisix] starsz commented on issue #2972: [DISCUSS] rich command line options to enhance the bin/apisix

Posted by GitBox <gi...@apache.org>.
starsz commented on issue #2972:
URL: https://github.com/apache/apisix/issues/2972#issuecomment-739639945


   I have the same idea.
   I think bin/apisix may contain some options to get config.
   How about this? 
   
   `./bin/apisix upstream get u1`
   `./bin/apisix consumer get c1`
   


----------------------------------------------------------------
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



[GitHub] [apisix] moonming commented on issue #2972: [DISCUSS] rich command line options to enhance the bin/apisix

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #2972:
URL: https://github.com/apache/apisix/issues/2972#issuecomment-739880059


   Do we need a new bin file for this tool? 


----------------------------------------------------------------
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