Module CLI

Module CLI 

Source
Expand description
use crate::Maintain::Source::Build::Fn;
Fn();
# Debug build with Node.js version 22
./build-orchestrator --directory Element/Mountain --debug --node-version 22 pnpm tauri build

# Production build with dependency flavor
export NODE_ENV=production
./build-orchestrator --dependency tauri-apps/tauri --bundle true pnpm tauri build
export MOUNTAIN_DIR="Element/Custom"
export MOUNTAIN_ORIGINAL_BASE_NAME="MyApp"
export MOUNTAIN_BUNDLE_ID_PREFIX="com.mycompany.app"
export NODE_ENV="development"
export NODE_VERSION="22"
export RUST_LOG="debug"
./build-orchestrator pnpm tauri build

Structsยง

Cli
Land Build System - Configuration-based builds via Cargo

Enumsยง

Commands
Available subcommands
OutputFormat
Output format options

Functionsยง

apply_overrides ๐Ÿ”’
Apply CLI overrides to environment
execute_build_command ๐Ÿ”’
Execute the build command with dual-path environment injection.
find_maintain_binary ๐Ÿ”’
Find the Maintain binary path.
get_all_profiles
List all available profiles (avoids Self)
get_build_command ๐Ÿ”’
Get build command for a profile
is_build_env_var ๐Ÿ”’
Check if an environment variable is a build system variable.
parse_key_val ๐Ÿ”’
Parse a key=value pair from command line.
parse_profile_name ๐Ÿ”’
Parse and validate profile name
print_build_header ๐Ÿ”’
Print build header
print_resolved_environment ๐Ÿ”’
Print resolved environment variables
resolve_environment_dual_path ๐Ÿ”’
Resolve environment variables with dual-path merging.
resolve_profile_name ๐Ÿ”’
Resolve profile name (handle aliases)