Skip to main content

workyard_application/actions/init/
input.rs

1use schemars::JsonSchema;
2use serde::Deserialize;
3use trine::NativePath;
4
5/// Workspace directory and relative location for task worktrees.
6#[derive(Deserialize, JsonSchema)]
7#[serde(deny_unknown_fields)]
8pub struct InitInput {
9	/// Workspace directory (defaults to the current directory).
10	pub directory: Option<NativePath>,
11	/// Tasks directory relative to the workspace (defaults to tasks).
12	pub tasks: Option<NativePath>,
13}