Shared engine for the portfolio gen.* commands: title → slug →
a frontmatter scaffold in the collection's directory, refusing to
clobber existing entries.
Summary
Functions
The human line every scaffold command prints.
Creates dir/slug.md with the scaffold's frontmatter.
Functions
The human line every scaffold command prints.
@spec run(Cherry.CLI.Context.t(), String.t(), (String.t() -> String.t()), String.t()) :: {:ok, map()} | {:error, Cherry.CLI.Error.t()}
Creates dir/slug.md with the scaffold's frontmatter.