commands

package
v0.0.0-...-7d43f85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ChapterBody = `---
title: "Chapter %d: Something"
---

Add body here
`
View Source
const ConfigBody = `` /* 369-byte string literal not displayed */

Variables

This section is empty.

Functions

func Build

func Build(c *cli.Context) error

func New

func New(c *cli.Context) error

Types

type BuildConfig

type BuildConfig struct {
	Title         string   `toml:"Title" yaml:"title"`
	Format        string   `toml:"Format" yaml:"format"`
	Author        string   `toml:"Author" yaml:"author"`
	Header        string   `toml:"Header" yaml:"header"`
	Cover         string   `toml:"Cover" yaml:"cover"`
	Description   string   `toml:"Description" yaml:"description"`
	ReleaseDate   string   `toml:"ReleaseDate" yaml:"release_date"`
	ImageFolder   string   `toml:"ImageFolder" yaml:"image_folder"`
	LNImageFolder string   `toml:"LNImageFolder" yaml:"ln_image_folder"`
	Sections      []string `toml:"Sections" yaml:"sections"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL