diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usage.go	Mon Dec 04 02:21:03 2023 +0000
@@ -0,0 +1,17 @@
+package aya
+
+import (
+	"fmt"
+)
+
+func PrintUsage() {
+	fmt.Printf("aya/%v\n", FullVersion())
+	fmt.Println("Homepage: https://aya.chaotic.ninja")
+	fmt.Println("Repository: https://git.chaotic.ninja/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")
+}