class

Hwaro::Config::Options::NewOptions

Inherits Reference / Object

Constructors

new(path : String | Nil = nil, title : String | Nil = nil, description : String | Nil = nil, archetype : String | Nil = nil, date : String | Nil = nil, draft : Bool | Nil = nil, tags : Array(String) = [] of String, section : String | Nil = nil, bundle : Bool | Nil = nil)
Source

Instance methods

archetype
Source
archetype=(archetype : String | Nil)
Source
bundle

--bundle / --no-bundle. nil means "user didn't specify"; Creator then consults the archetype directive and the config default in that order (CLI > archetype > config > single).

Source
bundle=(bundle : Bool | Nil)

--bundle / --no-bundle. nil means "user didn't specify"; Creator then consults the archetype directive and the config default in that order (CLI > archetype > config > single).

Source
date
Source
date=(date : String | Nil)
Source
description

Free-text description written into the front matter. nil (the flag default) leaves the scaffolded description field empty, matching the prior behaviour; the interactive wizard sets it to an actual value.

Source
description=(description : String | Nil)

Free-text description written into the front matter. nil (the flag default) leaves the scaffolded description field empty, matching the prior behaviour; the interactive wizard sets it to an actual value.

Source
draft
Source
draft=(draft : Bool | Nil)
Source
path
Source
path=(path : String | Nil)
Source
section
Source
section=(section : String | Nil)
Source
tags
Source
tags=(tags : Array(String))
Source
title
Source
title=(title : String | Nil)
Source