class

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)
Source

Instance methods

backup
Source
close
Source
create_directory(path)
Source
process_post(post_url : String)
Source
process_posts_async(posts)
Source
save(post, format = "json")
Source