Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix temporal command line arguments #399

Conversation

something-something-something
Copy link
Contributor

@something-something-something something-something-something commented Jun 28, 2024

When I try to use the all in one docker image I get these errors repeatedly

It looks like the script uses one - where there should be 2
see https://docs.temporal.io/cli/operator#create-1

Error: unknown shorthand flag: 't' in -type
Usage:
  temporal operator search-attribute create [flags]

Flags:
  -h, --help               help for create
      --name stringArray   Search Attribute name.
      --type stringArray   Search Attribute type. Accepted values: Text, Keyword, Int, Double, Bool, Datetime, KeywordList.

Global Flags:
      --address string                                    Temporal server address. (default "127.0.0.1:7233")
      --api-key string                                    Sets the API key on requests.
      --codec-auth string                                 Sets the authorization header on requests to the Codec Server.
      --codec-endpoint string                             Endpoint for a remote Codec Server.
      --color string                                      Set coloring. Accepted values: always, never, auto. (default "auto")
      --env string                                        Environment to read environment-specific flags from. (default "default")
      --env-file $HOME/.config/temporalio/temporal.yaml   File to read all environments (defaults to $HOME/.config/temporalio/temporal.yaml).
      --grpc-meta stringArray                             HTTP headers to send with requests (formatted as key=value).
      --log-format string                                 Log format. Options are "text" and "json". Default is "text".
      --log-level server start-dev                        Log level. Default is "info" for most commands and "warn" for server start-dev. Accepted values: debug, info, warn, error, never. (default "info")
  -n, --namespace string                                  Temporal server namespace. (default "default")
      --no-json-shorthand-payloads                        Always show all payloads as raw payloads even if they are JSON.
  -o, --output string                                     Data output format. Note, this does not affect logging. Accepted values: text, json, jsonl, none. (default "text")
      --time-format string                                Time format. Accepted values: relative, iso, raw. (default "relative")
      --tls                                               Enable TLS encryption without additional options such as mTLS or client certificates.
      --tls-ca-data string                                Data for server CA certificate. Exclusive with -path variant.
      --tls-ca-path string                                Path to server CA certificate.
      --tls-cert-data string                              Data for x509 certificate. Exclusive with -path variant.
      --tls-cert-path string                              Path to x509 certificate.
      --tls-disable-host-verification                     Disables TLS host-name verification.
      --tls-key-data string                               Data for private certificate key. Exclusive with -path variant.
      --tls-key-path string                               Path to private certificate key.
      --tls-server-name string                            Overrides target TLS server name.

unknown shorthand flag: 't' in -type
Error: unknown shorthand flag: 't' in -type
Usage:
  temporal operator search-attribute create [flags]

@longquanzheng longquanzheng merged commit 47b58da into indeedeng:main Jun 28, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants