annotate usage.go @ 75:84270933ac8d
draft
The Emperor (IV)
* `aya help` is provided by aya.PrintUsage() now
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author |
yakumo.izuru |
date |
Mon, 04 Dec 2023 02:21:03 +0000 |
parents |
|
children |
e1f9fda6986a |
rev |
line source |
75
|
1 package aya
|
|
2
|
|
3 import (
|
|
4 "fmt"
|
|
5 )
|
|
6
|
|
7 func PrintUsage() {
|
|
8 fmt.Printf("aya/%v\n", FullVersion())
|
|
9 fmt.Println("Homepage: https://aya.chaotic.ninja")
|
|
10 fmt.Println("Repository: https://git.chaotic.ninja/yakumo.izuru/aya")
|
|
11 fmt.Println("==")
|
|
12 fmt.Println("build [file] · (Re)build a site or a file in particular")
|
|
13 fmt.Println("clean · Remove the generated .pub directory")
|
|
14 fmt.Println("==")
|
|
15 fmt.Println("For more information please read the manual page")
|
|
16 fmt.Println("man aya")
|
|
17 }
|