Documentation
¶
Index ¶
Constants ¶
View Source
const ( PROCESS = "snow" VERSION = "0.1.5" DESCRIPTION = "snow is a static site generator." )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PromptBool ¶
type PromptFilePath ¶
type PromptFilePath struct {
Usage string
Value string
Required bool
MustExist bool // 是否要求路径必须存在
IsDir bool // 是否要求为目录(否则为文件)
Destination *string
}
PromptFilePath 用于文件路径输入
Click to show internal directories.
Click to hide internal directories.