Medup::Tool
Inherits Reference / Object
Constants
ASSETS_DIR_NAME = "assets"
JSON_FORMAT = "json"
MARKDOWN_FORMAT = "md"
SOURCE_AUTHOR_POSTS = "overview"
SOURCE_RECOMMENDED_POSTS = "has-recommended"
Constructors
new(ctx : Medup::Context = ::Medup::Context.new, format : String | Nil = MARKDOWN_FORMAT, source : String | Nil = SOURCE_AUTHOR_POSTS, user : String | Nil = nil, publication : String | Nil = nil, articles : Array(String) = Array(String).new)
SourceInstance methods
backup
Sourceclose
Sourcecreate_directory(path)
Sourceprocess_post(post_url : String)
Sourceprocess_posts_async(posts)
Sourcesave(post, format = "json")
Source