Mercurial > yakumo_izuru > aya
annotate usage.go @ 82:1b27391363d1 draft
Add posthook examples
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Tue, 26 Mar 2024 02:14:25 +0000 |
parents | 7b122b71fcfa |
children | d8c30f64e301 |
rev | line source |
---|---|
75 | 1 package aya |
2 | |
3 import ( | |
4 "fmt" | |
5 ) | |
6 | |
77 | 7 // This function is called by the `aya help` subcommand |
75 | 8 func PrintUsage() { |
79
7b122b71fcfa
A good time to finally release a stable version
yakumo.izuru
parents:
77
diff
changeset
|
9 fmt.Printf("aya/%v\n", PrintFullVersion()) |
75 | 10 fmt.Println("Homepage: https://aya.chaotic.ninja") |
11 fmt.Println("Repository: https://git.chaotic.ninja/yakumo.izuru/aya") | |
12 fmt.Println("==") | |
13 fmt.Println("build [file] · (Re)build a site or a file in particular") | |
14 fmt.Println("clean · Remove the generated .pub directory") | |
15 fmt.Println("==") | |
16 fmt.Println("For more information please read the manual page") | |
17 fmt.Println("man aya") | |
18 } |