Expand description
Utility functions for actr-cli
Functionsยง
- check_
required_ tools - Check if required tools are available
- command_
exists - Check if a command is available in the system PATH
- copy_
file_ with_ dirs - Copy a file, creating parent directories as needed
- ensure_
dir_ exists - Ensure a directory exists, creating it if necessary
- execute_
command - Execute a command and return the output
- execute_
command_ streaming - Execute a command and stream its output
- find_
workspace_ root - Find the workspace root by looking for Cargo.toml with [workspace]
- get_
target_ dir - Get the target directory for build outputs
- is_
actr_ project - Check if the current directory contains an Actr.toml file
- to_
pascal_ case - Convert a string to PascalCase using heck crate
- to_
snake_ case - Convert a string to snake_case using heck crate
- warn_
if_ not_ actr_ project - Warn if not in an actr project directory