Documentation
¶
Index ¶
Constants ¶
View Source
const (
LocalInterfaceAddress = "127.0.0.1"
)
Variables ¶
View Source
var CLI = Cmd{}
View Source
var DefaultInstanceForHut = "sr.ht"
View Source
var RandPort = minPort + rand.IntN(65536-minPort)
Functions ¶
func CreateBundlePackage ¶
Types ¶
type BuildCmd ¶
type Cmd ¶
type Cmd struct {
Verbose bool `flag:"" name:"verbose" short:"v" aliases:"vv,vvv" optional:"" negatable:""`
Path *os.File `flag:"" help:"The path for the wiki repository."`
Build BuildCmd `cmd:"" help:"Build the static HTML version for the wiki."`
Serve ServeCmd `cmd:"" help:"Build the static HTML version for the wiki and serve it locally."`
Upload UploadCmd `cmd:"" help:"Build the static HTML version for the wiki and upload it to srht.site pages."`
}
Click to show internal directories.
Click to hide internal directories.