Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/onadrog/astroadd-cli

A simple cli to create Astro posts with automatic generated frontmatter
https://github.com/onadrog/astroadd-cli

astro command command-line file-generator

Last synced: 4 days ago
JSON representation

A simple cli to create Astro posts with automatic generated frontmatter

Awesome Lists containing this project

README

        

# 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.

```bash
# $ astroadd [path]

$ astroadd posts/my-blog-post.md
```
### output

```markdown

---
title : "My blog post"
pubDate: 2023-01-02T16:46:46+01:00
description: ""
tags: []
draft: true
---
```