The af command is the Airfold CLI, it accepts a variety of commands such as af push or af source.

To view a list of the commands available in your current Airfold version, simply run af with no additional arguments:

af

To get detailed information on a specific command, use the --help option.

For instance, learn more about the pipe command by running:

af pipe --help

The Airfold CLI provides interactive, detailed output to enhance your command-line experience.

When output is redirected, it automatically switches to JSON format when possible to support seamless data handling and parsing.

Commands

config
Command

Configure your environment, such as credentials.

diff
Command

Diff between local and remote objects.

doctor
Command

Check your system for potential problems.

fmt
Command

Format local object files.

generate
Command

Generate events.

graph
Command

Dump graph of runtime objects in JSON format to file or stdout.

pipe
Command

Pipe commands.

pull
Command

Pull objects from the runtime database.

push
Command

Push object(s) into the runtime database.

source
Command

Source commands.

job
Command

Source commands.

verbose
Global Flag

Set verbosity level, can be repeated.