view usage.go @ 86:897d57a7ec95 draft

Add support for disabling features at build time Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author yakumo.izuru
date Wed, 03 Apr 2024 23:17:16 +0000
parents d8c30f64e301
children 01ae2ad18ed1
line wrap: on
line source

package aya

import (
	"fmt"
)

// This function is called by the `aya help` subcommand
func PrintUsage() {
	fmt.Printf("aya/%v\n", PrintFullVersion())
	fmt.Println("Homepage: https://aya.chaotic.ninja")
	fmt.Println("Repository: https://git.chaotic.ninja/usr/yakumo_izuru/aya")
	fmt.Println("==")
	fmt.Println("build [file] · (Re)build a site or a file in particular")
	fmt.Println("clean · Remove the generated .pub directory")
	fmt.Println("==")
	fmt.Println("For more information please read the manual page")
	fmt.Println("man aya")
}