Introducing ZCLI: The Zendesk Command Line Interface - Beta

Have more questions? Submit a request

6 Comments

  • Usuário financeiro 1
    Comment actions Permalink

    Hi there,

    On ZCLI there's anyway to reproduce zat server -c setting.json? I have to many parameters to pass when I start my server, and it will be very useful!

    1
  • Chris Sos
    Comment actions Permalink

    Thanks for the feedback!

    Yes, this is something we would look to add in the future. :)

    1
  • Adam Grohs
    Comment actions Permalink

    110% agree on that one...its painful to have to re-enter in the settings data!

    1
  • Adam Grohs
    Comment actions Permalink

    Looks like you can specify the setting using a zcli.apps.config.json file.

    2
  • Jon
    Comment actions Permalink

    Adam Grohs nice catch! Indeed that works. I had to check out the zcli code to figure out how to use this. It's been implemented all along.

    Beware, one of the docs files (apps.md) does mention --config:

    --config=config  [default: zcli.apps.config.json] Configuration file for zcli::apps

    However, that DOES NOT actually appear to be implemented.

    Instead, the code just always looks for zcli.apps.config.json in the app folder root. In that file, just put this:

    {
    "parameters": {
    "<paramName>": "<paramValue>"
    }
    }

    The config object also supports app_id and plan.

    1
  • Matheus Silva
    Comment actions Permalink

    Thank you guys, it was very helpfull!

    0

Please sign in to leave a comment.

Powered by Zendesk