ichika

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

README

ichika

Named after Ichika Nakano from The Quintessential Quintuplets, ichika is the root of everything---of life, of all root commands, user interactions, and of love.

ichika contains all of the top-level commands and please think of her as the "true" main package of darkness.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandFuncs = map[DarknessCommand]func(){

	`-h`:     HelpCommandFunc,
	`help`:   HelpCommandFunc,
	`-help`:  HelpCommandFunc,
	`--help`: HelpCommandFunc,
	// contains filtered or unexported fields
}

CommandFuncs maps supplied darkness command to the function that needs to get executed.

Functions

func AquaCommandFunc

func AquaCommandFunc()

func BuildCommandFunc

func BuildCommandFunc()

BuildCommandFunc builds the entire directory.

func CleanCommandFunc

func CleanCommandFunc()

CleanCommandFunc cleans the files like `megumin` but without any output (except for errors).

func GetDarknessFunc

func GetDarknessFunc(command string) func()

GetDarknessFunc returns Darkness function to run by the command supplied, `nil` otherwise.

func HelpCommandFunc

func HelpCommandFunc()

HelpCommandFunc shows default darkness HelpCommandFunc message

func LalatinaCommandFunc

func LalatinaCommandFunc()

func MeguminCommandFunc

func MeguminCommandFunc()

MeguminCommandFunc blows up the directory.

func MisaCommandFunc

func MisaCommandFunc()

MisaCommandFunc will support many different tools that darkness can support, such as creating gallery previews, etc. WIP.

func ServeCommandFunc

func ServeCommandFunc()

ServeCommandFunc builds the website, local serves it on 8080 and then cleans the files.

Types

type DarknessCommand

type DarknessCommand string

DarknessCommand is a type to enforce input typing.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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