@cieloazul310/gatsby-theme-aoi-blog-cli
TypeScript icon, indicating that this package has built-in type declarations

3.4.0 • Public • Published

@cieloazul310/gatsby-theme-aoi-blog-cli

CLI package for Gatsby Theme Aoi Blog

Usage

npm pkg set scripts.post="gatsby-aoi-blog new post"

npm run post "New page title"
# => Generate "/content/posts/2022/02/new-page-title.md"

Options

option type default
-a, --author string Unknown Author
-d, --date string (Datestring) new Date().toISOString()
--canonical boolean false
--mdx boolean false

Examples

# date option
npm run post "New page title" --date 2022-01-01
# => Generate "/content/posts/2022/01/new-page-title.md"

# canonical option
npm run post "New page title" --canonical
# => Generate "/content/posts/2022/02/new-page-title/index.md"

# mdx option
npm run post "New page title" --mdx
# => Generate "/content/posts/2022/02/new-page-title.mdx"

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @cieloazul310/gatsby-theme-aoi-blog-cli

Weekly Downloads

2

Version

3.4.0

License

ISC

Unpacked Size

11.4 kB

Total Files

12

Last publish

Collaborators

  • cieloazul310