Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/onadrog/astroadd-cli
- Owner: onadrog
- License: mit
- Created: 2022-12-25T08:28:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-28T17:01:32.000Z (10 months ago)
- Last Synced: 2024-06-21T08:28:35.606Z (5 months ago)
- Topics: astro, command, command-line, file-generator
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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
---
```