workyard-application 0.1.0

Task actions and interface contracts for Workyard
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use schemars::JsonSchema;
use serde::Deserialize;
use trine::NativePath;

/// Workspace directory and relative location for task worktrees.
#[derive(Deserialize, JsonSchema)]
#[serde(deny_unknown_fields)]
pub struct InitInput {
	/// Workspace directory (defaults to the current directory).
	pub directory: Option<NativePath>,
	/// Tasks directory relative to the workspace (defaults to tasks).
	pub tasks: Option<NativePath>,
}