Every aict tool is invoked as a subcommand:
aict <tool> [flags] [arguments]
# 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
| Flag | Description |
--xml | Force XML output |
--json | Force JSON output |
--plain | Plain text output (GNU-compatible) |
--help | Show help for any tool |
| Variable | Description |
AICT_XML=1 | Default to XML output for all tools |
AICT_JSON=1 | Default to JSON output for all tools |
# List all available tools
aict help
# Get help for a specific tool
aict grep --help