struct Medup::Settings

Defined in:

medup/settings.cr

Constant Summary

DEFAULT_ASSETS_BASE_PATH = "./assets"
DEFAULT_ASSETS_DIR_NAME = "assets"
DEFAULT_PLATFORM = PLATFORM_MEDIUM
DEFAULT_POSTS_PATH = "./posts"
PLATFORM_DEVTO = "devto"
PLATFORM_MEDIUM = "medium"
PLATFORMS = [PLATFORM_MEDIUM, PLATFORM_DEVTO]

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def assets_base_path : String #

[View source]
def assets_base_path=(assets_base_path : String) #

[View source]
def assets_dist : String #

[View source]
def assets_dist=(assets_dist : String | Nil) #

[View source]
def assets_image? : Bool #

[View source]
def dry_run! : Bool #

[View source]
def dry_run? : Bool #

[View source]
def github_api_token : String | Nil #

[View source]
def github_api_token=(github_api_token : String | Nil) #

[View source]
def medium_token : String | Nil #

[View source]
def medium_token=(medium_token : String | Nil) #

[View source]
def options : Array(Medup::Options) #

[View source]
def options=(options : Array(Medup::Options)) #

[View source]
def platform : String #

[View source]
def platform=(platform : String) #

[View source]
def posts_dist : String #

[View source]
def posts_dist=(posts_dist : String) #

[View source]
def set_assets_image! #

[View source]
def set_update_content! #

[View source]
def update_content? : Bool #

[View source]
def valid? #

[View source]