Description
Table of contents
Open Table of contents
Intro
Content
使用 CLI 工具,高效创建新文章
pnpm add -g @astro-paper/cli
astro-paper new
astro-paper new "我的第一篇文章"
选项 别名 说明
--yes -y 使用默认值创建文章(仍需确认部分信息)
--yes-all -Y 全部使用默认值,包括自动生成文件名
--draft -d 创建为草稿文章(不会在博客首页显示)
astro-paper new -Y