Skip to main content

create_concept

Function create_concept 

Source
pub fn create_concept(
    path: impl AsRef<Path>,
    options: &ConceptOptions,
) -> Result<PathBuf>
Expand description

Creates a new concept markdown file with proper frontmatter and heading.

ยงErrors

Returns an io::Error if the file already exists (and force is false), or if writing to disk fails.