Commands 🍭
The MMDB CLI provides several commands to interact with MaxMind DB files. You can use these commands to inspect the contents of an MMDB file, extract metadata, and dump the data in a human-readable format. The following commands are available in MMDB CLI:
We will explore each of these commands in detail in the following sections. Let's get started! 🚀
You can use --help flag to get more information about available commands at any time:
mmdb-cli --help
Core Commands
- Metadata: View the metadata of an MMDB file.
- Inspect: Inspect the contents of an MMDB file.
- Dump: Export the contents of an MMDB file into a JSON dataset.
- Generate: Generate an MMDB file from a JSON dataset.
- Update: Update an existing MMDB file with new data.
- Verify: Verify that an MMDB file is valid.
Built-in Utility Commands
completion: Generate shell autocompletion scripts (bash,zsh,fish,powershell).help: Show help for any command.
completion Usage
mmdb-cli completion [bash|zsh|fish|powershell]