Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI to make authoring easier #43

Open
robinmetral opened this issue Aug 16, 2024 · 0 comments
Open

CLI to make authoring easier #43

robinmetral opened this issue Aug 16, 2024 · 0 comments

Comments

@robinmetral
Copy link
Owner

robinmetral commented Aug 16, 2024

I really like how Cobalt has a CLI to author posts:

  • cobalt new creates a new post using a given template
  • cobalt publish sets a post's is_draft to false and sets the published_date to the current date
  • (not about authoring pages per se: cobalt init initializes the Cobalt directory structure)

Other ideas:

  • update: add or update the updated_date
  • 🚧

This is possible to implement when there are well-defined conventions for directory structure and post metadata (frontmatter), something that more flexible generators cannot do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant