Initialize
Scaffold .apifire/, auth.yaml, config.yaml, requests/example.yaml, and .env.example from one command.
CLI API TESTING / FILE-FIRST WORKFLOW
apifire is a command-line API testing tool for developers who want real request flows, auth, validation, and repeatable checks without living in a GUI.
$apifire --version
apifire 0.1.0
$apifire init -n demo -u https://api.example.com
✓ Project initialized successfully!
Creates .apifire/, .env.example, and example request YAML.
$apifire run --parallel
Running request suite from .apifire/requests/*
$apifire auth --token-only
Designed for shell scripts and CI glue.
Explore the product
Route
Install apifire, starting with macOS Homebrew Cask, then continue into the first-run workflow.
Route
Go from installed CLI to init, configure, and first run with the core setup flow.
Route
Read the core usage guide for install, init, auth, request schema, validation, variables, and CI workflows.
Route
Scan the small command surface, jump to a subcommand, and copy known-good examples quickly.
Route
Review the scaffolded YAML files that turn tests into versioned project assets.
Route
Learn how the apifire Claude Code skill turns natural-language requests into verified apifire commands without inventing unsupported flags.
Workflow
Scaffold .apifire/, auth.yaml, config.yaml, requests/example.yaml, and .env.example from one command.
Set base_url, credentials, auth endpoint, and request YAML files with plain-text config you can version control.
Execute everything with apifire run, or target auth-only / validation-only flows when debugging a pipeline.
Core advantages
Ship tests with code
apifire turns request flows into files under .apifire/, so your setup is diffable, reviewable, and easy to rerun.
Built for auth flows
The CLI has a dedicated auth command plus bearer-token config fields like token_path, header_name, and header_prefix.
Fast feedback loop
Use apifire init to scaffold a project, apifire validate to catch config mistakes, then apifire run for execution.
Scriptable output
The auth subcommand supports --token-only, making it straightforward to plug into shell scripts or CI steps.
Command-line workflow
The strongest parts of the product story come from the command line itself. The detailed help, generated scaffold, and real command sequences all live on dedicated inner pages.
$ apifire --help A CLI API testing tool similar to Postman but runs in command line Usage: apifire [OPTIONS] <COMMAND> Commands: init Initialize a new API test project run Run API tests auth Run authentication only to get token validate Validate configuration files