Flow CLI is a command line tool to interact with flow emulator and query data.
flow <command> <subcommand> [flags]
account: Query account data from Flow
config: Configure CLI properties (such as API of emulator)
help: Help about any command
version: Show version information
$ flow account get "01cf0e2f2f715450" # get all account information
$ flow account get "01cf0e2f2f715450" --filter address # get only account address
$ flow account get "01cf0e2f2f715450" --json # get all account information in JSON
$ flow config
Read guidlines for this CLI design: OUR GUIDELINES
Download a binary for your OS at the releases page.
You can use Docker to build and run the image. Be careful docker container can access the network of Flow Emulator. Create a shared network or use host if needed.
docker build -t flow .
docker run -it flow