mix serum.gen.post (serum v1.5.1) View Source
Adds a new blog post to the current project.
mix serum.gen.post (-t|--title) TITLE (-o|--output) OUTPUT [Options]
Post date will be automatically set to the moment this task is executed.
Required Options
-t(--title)
(string): Title of the new blog post.-o(--output)
(string): Name of the generated post file. The actual path to the generated file will be in the form ofposts/YYYY-MM-DD-<OUTPUT>.md
.
Other Options
-g(--tag)
(string): Tag(s) of the new post. You can provide this option zero or more times to give multiple tags to the post.