verless / verless

A Static Site Generator designed for Markdown-based content with a focus on simplicity and performance.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement verless create file command

dominikbraun opened this issue · comments

There should be a command like verless create file my-blog-post.md to create an initialized Markdown file.

I have few questions about behaviour of this command.

  1. Do you want to create a file with some default frontmatter for example
---
Title:
Description:
Date: 2020-10-02
---
  1. Should file be created in content folder under current directory or with custom path under current directory ?
  1. Yes, the verless create file command should safe some time for the user, so that he doesn't have to manually create the Front Matter.
  2. I'd suggest to directly create it within the content directory.

Fixed with #182, thanks!