Linux command
chiko 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch
chiko
Connect
chiko -insecure
Connect
chiko -cacert [/path/to/ca.pem]
Connect
chiko -cert [/path/to/client.pem] -key [/path/to/client-key.pem]
Set
chiko -connect-timeout 30
说明
chiko is a terminal user interface for interacting with gRPC services, written in Go. It combines the power of grpcurl with the elegance of a visual TUI. Instead of memorizing complex grpcurl command syntax, chiko provides an interactive interface for discovering services, crafting requests, and testing gRPC APIs. Key features include smart server reflection for automatic service discovery, built-in Bearer token support for authentication, rich metadata and custom header support, instant payload generation from service definitions, smart bookmarks for saving and replaying requests, and import/export of grpcurl commands.
参数
- -plaintext
- Use plain-text HTTP/2 when connecting (no TLS). Default: true.
- -insecure
- Skip server certificate and domain verification.
- -cacert _file_
- File containing trusted root certificates for verifying the server.
- -cert _file_
- File containing client certificate (public key).
- -key _file_
- File containing client private key.
- -d _data_
- Data for request contents.
- -allow-unknown-fields
- Allow unknown fields in JSON request.
- -connect-timeout _seconds_
- Maximum time in seconds to wait for connection (default: 10).
- -keepalive-time _seconds_
- Maximum idle time before sending a keepalive probe.
- -max-time _seconds_
- Maximum total operation time in seconds.
- -max-msg-sz _bytes_
- Maximum encoded response message size (default: 4194304).
FAQ
What is the chiko command used for?
chiko is a terminal user interface for interacting with gRPC services, written in Go. It combines the power of grpcurl with the elegance of a visual TUI. Instead of memorizing complex grpcurl command syntax, chiko provides an interactive interface for discovering services, crafting requests, and testing gRPC APIs. Key features include smart server reflection for automatic service discovery, built-in Bearer token support for authentication, rich metadata and custom header support, instant payload generation from service definitions, smart bookmarks for saving and replaying requests, and import/export of grpcurl commands.
How do I run a basic chiko example?
Run `chiko` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -plaintext do in chiko?
Use plain-text HTTP/2 when connecting (no TLS). Default: true.