class Medup::Tool

Defined in:

medup/tool.cr

Constant Summary

ASSETS_DIR_NAME = "assets"
JSON_FORMAT = "json"
MARKDOWN_FORMAT = "md"
SOURCE_AUTHOR_POSTS = "overview"
SOURCE_RECOMMENDED_POSTS = "has-recommended"

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : Medup::Context = ::Medup::Context.new, format : String | Nil = nil, source : String | Nil = nil, user : String | Nil = nil, publication : String | Nil = nil, articles : Array(String) = Array(String).new) #

Instance Method Detail

def backup #

def close : Nil #

def create_directory(path) #

def process_post(post_url : String) #

def process_posts_async(posts) #

def save(post, format = "json") #