workyard-application 0.1.3

Task actions and interface contracts for Workyard
Documentation
use crate::actions::{amend, create, info, init, list, projects, recover, remove, status};
use trine::application::Application;

/// Build the catalog shared by the CLI, RPC and MCP hosts.
pub fn application() -> Result<Application, Box<dyn std::error::Error>> {
	let mut app = Application::new("workyard", env!("CARGO_PKG_VERSION"))?;

	app.register(init::build_entry()?)?;
	projects::register(&mut app)?;
	app.register(create::build_entry()?)?;
	app.register(amend::build_entry()?)?;
	app.register(recover::build_entry()?)?;
	app.register(remove::build_entry()?)?;
	app.register(list::build_entry()?)?;
	app.register(info::build_entry()?)?;
	app.register(status::build_entry()?)?;

	Ok(app)
}