class Medup::Tool
- Medup::Tool
- Reference
- Object
Defined in:
medup/tool.crConstant Summary
-
ASSETS_DIR_NAME =
"assets"
-
JSON_FORMAT =
"json"
-
MARKDOWN_FORMAT =
"md"
-
SOURCE_AUTHOR_POSTS =
"overview"
-
SOURCE_RECOMMENDED_POSTS =
"has-recommended"
Constructors
Instance Method Summary
- #backup
- #close : Nil
- #create_directory(path)
- #process_post(post_url : String)
- #process_posts_async(posts)
- #save(post, format = "json")
Constructor Detail
def self.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)
#