Skip to content

A simple cli to create Astro posts with automatic generated frontmatter

License

Notifications You must be signed in to change notification settings

onadrog/astroadd-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astroadd

A go cli for astro. Create page with auto generated frontmatter.

Command

Usage

Make sure you run the command inside the root directory of your site projet. It will create a file in the src/content path.

# $ astroadd [path]

$ astroadd posts/my-blog-post.md

output

<!-- src/pages/posts/my-blog-post.md -->
---
title : "My blog post"
pubDate: 2023-01-02T16:46:46+01:00
description: ""
tags: []
draft: true
---

About

A simple cli to create Astro posts with automatic generated frontmatter

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages