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/11/04 06:59:07 UTC

[GitHub] [apisix] Yiyiyimu commented on a change in pull request #2101: feat: customed config.yaml when apisix start

Yiyiyimu commented on a change in pull request #2101:
URL: https://github.com/apache/apisix/pull/2101#discussion_r517130471



##########
File path: bin/apisix
##########
@@ -668,6 +668,23 @@ function _M.start(...)
         end
     end
 
+    local argparse = require "argparse"
+    local parser = argparse()
+    parser:argument("_", "Placeholder")
+    parser:option("-c --config", "location of customed config.yaml")

Review comment:
       [For envoy](https://www.envoyproxy.io/docs/envoy/latest/operations/cli#cmdoption-c), `-c` is the abbr of `--config-path`. Or I could change it to `config-path`, if needed




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