Skip to content

cofidectl connect api call

Call a Cofide Connect API

This command will call a Cofide Connect API using the ConnectRPC protocol.

cofidectl connect api call [flags]
--data string The JSON-formatted data to send (default "{}")
-h, --help help for call
--rpc string The Connect RPC method to call
--service string The Connect RPC service to call
--timeout int Request timeout in seconds (default 30)
--config string Cofidectl config file (default: cofide/cofidectl.yaml in the user config directory, e.g. ~/.config on Linux)
--dir string directory to write the generated docs to (default "docs/cli")
--format string output format: md, md-site, man or rest (default "md")
--link-prefix string md-site only, required: URL path the generated pages are published under, used to rewrite links between them
--log-level string Log level (overrides the COFIDECTL_LOG_LEVEL environment variable) (default "ERROR")
-o, --output format Output format (table|json) (default table)
--profile string Config profile to use (overrides the COFIDECTL_PROFILE environment variable)