4.5.1 • Published 5 years ago

@blog-o-matic/cli v4.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Blog-o-Matic CLI

The Blog-o-Matic CLI tool is for syncing your blog to your computer's filesystem

API

CommandDescription
blog initGenerate a blog
blog postGenerate a blog post
blog previewOpen a server for blog content
blog publishBuild blog, and push, depending on blog.config.yml settings
blog publish --fs --s3Publish both via fs and s3

Unimplemented

We should have publish settings:

blog publish ./resources/my-image-1.jpg   # Re-upload a file.
blog publish ./posts/my-post-1.md --force # Upload files related to a post
blog publish --force                      # Re-upload all files

We should be able to specify more in args:

blog init ./my-blog
blog post ./my-post

We should be able to convert a non-post markdown file into a post:

blog post ./my-post.md

Publish Flow

Generate Blog

The important thing to take note of is generation of blog.config.yml

Compiler

This should be publisher-agnostic Input: Local directory location

  • Take note of all the locations of local files.
  • Do all transformations. Ouput: Array of upload objects (File data + Relative file location strings)

Publisher

Input: Remote info, publish array

  • Run validation on each upload object.
  • Complete actual upload of file
4.5.1

5 years ago

4.5.0

5 years ago

4.4.3

5 years ago

4.4.2

5 years ago

4.4.1

5 years ago

4.3.7

5 years ago

4.3.6

5 years ago

4.3.5

5 years ago

4.3.4

5 years ago

4.3.1

5 years ago

4.3.0

5 years ago

4.2.5

5 years ago

4.2.4

5 years ago

4.2.3

5 years ago

4.1.0

5 years ago

4.0.6

5 years ago

4.0.5

5 years ago

4.0.4

5 years ago

4.0.3

5 years ago