cargo build
cargo test
cargo run -- init
cargo run -- --help# Set CLI arguments via environment
export FLEETFORM_CLI_ARGS="-C /path/to/project"
cargo run -- planWindows Defender Exclusion (Recommended):
- Open Windows Security → Virus & Threat Protection
- Go to Manage Settings → Exclusions → Add or remove exclusions
- Add your fleetform project folder as an exclusion
Build Issues:
- If
cargo build --releasefails with file locking errors, usecargo clean && cargo build - Retry operations are built into state management (3 attempts with 1-second delays)
- Restart your system if persistent locking issues occur
CI/CD: GitHub Actions includes 10-minute timeouts for Windows builds
- Rust: Complete CLI tool with async HTTP client (reqwest)
- Configuration: Supports HCL, JSON, YAML via serde
- State Management: JSON-based with fs4 file locking, retries, and cleanup
- Providers: HTTP-based provider registry integration
- Run
cargo fmtfor code formatting - Run
cargo clippyfor linting - Follow conventional commits
- Add documentation for public APIs
- Add unit tests for new features
- Test CLI commands with
cargo run -- - Ensure all CI checks pass
- Test cross-platform compatibility
- On Windows: Test with antivirus exclusions
- CLI: Full argument parsing with clap
- Signal Handling: Graceful shutdown on SIGINT (Unix only)
- Directory Changes:
-Cflag support - Environment Args:
FLEETFORM_CLI_ARGSsupport - Version Info:
-v/--versionflags - File Locking: Cross-platform with retry logic
- State Management: Atomic operations with backup cleanup