Skip to main content

Crate guild_cli

Crate guild_cli 

Source

Structs§

Cache
Input-based cache for task outputs.
CacheEntry
A cache entry stored for a task.
CacheStats
Statistics about the cache.
ProjectConfig
A validated project configuration parsed from a project’s guild.toml.
ProjectGraph
A directed acyclic graph of project dependencies.
ProjectName
A validated project name.
RunResult
Aggregate result of running all tasks.
TargetConfig
A validated target configuration.
TargetName
A validated target name (e.g., “build”, “test”, “lint”).
TaskGraph
A fine-grained task dependency graph built from the project graph.
TaskId
A unique identifier for a task: (project, target) pair.
TaskResult
Result of a single task execution.
TaskRunner
Parallel task execution engine.
WorkspaceConfig
A validated workspace configuration parsed from the root guild.toml.

Enums§

AffectedError
Errors from detecting affected projects.
CacheError
Errors from cache operations.
ConfigError
Errors from loading and processing configuration files.
DependsOn
A dependency reference in a target’s depends_on list.
GraphError
Errors from building and validating the project dependency graph.
InitError
Errors from initializing a workspace with guild init.
ParseError
Errors from parsing configuration values and domain types.
RunMode
Controls behavior when a task fails.
RunnerError
Errors from running tasks.
TaskGraphError
Errors from building and validating the task dependency graph.
TaskState
The state of a task in the execution graph.

Functions§

discover_projects
Discover all project guild.toml files within the workspace.
find_workspace_root
Find the workspace root by searching for guild.toml with a [workspace] section, starting from start_dir and walking up to parent directories.
print_error
Print an error message to stderr.
print_header
Print a section header.
print_not_implemented
Print a “not yet implemented” stub message.
print_project_entry
Print a project list entry.
print_success
Print a success message.
print_warning
Print a warning message to stderr.
run_affected
Run a target only on affected projects (changed + their dependents).
run_init
Run init with stdin/stdout for interactive mode.
run_target
Run a target across the workspace or for a specific project.