Usage

Basic Commands

Every aict tool is invoked as a subcommand:

aict <tool> [flags] [arguments]

Examples

# List directory contents
aict ls src/

# Search for a pattern
aict grep "func main" . -r

# Read a file
aict cat main.go

# Find files by name
aict find . -name "*.go"

# Get file metadata
aict stat main.go

# Compare two files
aict diff old.go new.go

# Count lines, words, bytes
aict wc main.go

Global Flags

FlagDescription
--xmlForce XML output
--jsonForce JSON output
--plainPlain text output (GNU-compatible)
--helpShow help for any tool

Environment Variables

VariableDescription
AICT_XML=1Default to XML output for all tools
AICT_JSON=1Default to JSON output for all tools

Help

# List all available tools
aict help

# Get help for a specific tool
aict grep --help