From 60ed166df837d5adf2254c53976fa487e5ba302a Mon Sep 17 00:00:00 2001 From: Chang-Hung Liang Date: Wed, 9 Oct 2024 15:25:53 +0800 Subject: [PATCH] Update doc, add --local-port --- docs/cli.html | 3 ++- docs/cli.md | 3 ++- packages/cli/docs/cli.html | 3 ++- packages/cli/docs/cli.md | 3 ++- packages/cli/src/oclif/commands/invoke.js | 25 +++++++---------------- 5 files changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/cli.html b/docs/cli.html index c24e0447b..d8e39b316 100644 --- a/docs/cli.html +++ b/docs/cli.html @@ -807,7 +807,8 @@

invoke

  • -p, --page | Set bundle.meta.page. Only makes sense for a trigger. When used in production, this indicates which page of items you should fetch. First page is 0.
  • --non-interactive | Do not show interactive prompts.
  • -z, --timezone | Set the default timezone for datetime field interpretation. If not set, defaults to America/Chicago, which matches Zapier production behavior. Find the list timezone names at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. Defaults to America/Chicago.
  • -
  • --redirect-uri | The redirect URI that will be passed to the OAuth2 authorization URL. Usually this should match the one configured in your server's OAuth2 application settings. A local HTTP server will be started to listen for the OAuth2 callback. If your server requires a non-localhost or HTTPS address for the redirect URI, you can set up port forwarding to route the non-localhost or HTTPS address to localhost. Defaults to http://localhost:9000.
  • +
  • --redirect-uri | Only used by auth start subcommand. The redirect URI that will be passed to the OAuth2 authorization URL. Usually this should match the one configured in your server's OAuth2 application settings. A local HTTP server will be started to listen for the OAuth2 callback. If your server requires a non-localhost or HTTPS address for the redirect URI, you can set up port forwarding to route the non-localhost or HTTPS address to localhost. Defaults to http://localhost:9000.
  • +
  • --local-port | Only used by auth start subcommand. The local port that will be used to start the local HTTP server to listen for the OAuth2 callback. This port can be different from the one in the redirect URI if you have port forwarding set up. Defaults to 9000.
  • -d, --debug | Show extra debugging output.
  • Examples

    Examples