CLI Reference
Overview
Build Tool: cli
clibuild
buildUsage
# If you haven't installed the CLI tool yet, build it first:
cargo build --bin encoderfile --release
# Then run it:
./target/release/encoderfile build -f <config.yml> [OPTIONS]
# Or install it to your system:
cargo install --path encoderfile --bin encoderfile
encoderfile build -f <config.yml> [OPTIONS]Options
Option
Short
Type
Required
Description
Configuration File Format
Model Types
Examples
Build Process
Output
Requirements
Troubleshooting
version
versionUsage
Output
Runtime Binary: encoderfile
encoderfileArchitecture
Commands
serve
serveUsage
Options
Option
Type
Default
Description
Examples
Notes
infer
inferUsage
Arguments
Argument
Required
Description
Options
Option
Type
Default
Description
Model Types
Output Formats
Saving Output to File
Configuration
Error Handling
Examples
Basic Inference Workflow
Server Workflow
Batch Processing
Custom Server Configuration
Troubleshooting
Both servers cannot be disabled
Output not appearing
Model type detection
Complete Workflow Example
Step 1: Export Model to ONNX
Step 2: Create Configuration File
Step 3: Build Encoderfile Binary
Step 4: Run Inference
Step 5: Deploy
Command Reference Summary
Command
Tool
Purpose
Additional Resources
Last updated