noosphere_cli/native/commands/sphere/
render.rs

1use crate::workspace::Workspace;
2use anyhow::Result;
3
4/// Render the workspace up to a specified maximum render depth
5pub async fn render(render_depth: Option<u32>, workspace: &Workspace) -> Result<()> {
6    workspace.render(render_depth, true).await?;
7    Ok(())
8}