summary refs log tree commit diff stats
path: root/usage.go
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-04-24 19:52:18 +0530
committerAndinus <andinus@nand.sh>2020-04-24 19:52:18 +0530
commit53d4a70ed2d1db9e7ebb98ec734d414539a74fc8 (patch)
tree521d3f87c08cc695d4207b1925f0de17f416a3ff /usage.go
parenta01ce7b96892849d91911a2ef143a08b8e4e57c5 (diff)
downloadcetus-53d4a70ed2d1db9e7ebb98ec734d414539a74fc8.tar.gz
Move app func to main
Diffstat (limited to 'usage.go')
-rw-r--r--usage.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/usage.go b/usage.go
new file mode 100644
index 0000000..e9e2f71
--- /dev/null
+++ b/usage.go
@@ -0,0 +1,15 @@
+package main
+
+import "fmt"
+
+func printUsage() {
+	fmt.Println("Usage: cetus <command> <service> [<flags>]")
+	fmt.Println("\nCommands: ")
+	fmt.Println(" set     Set the background")
+	fmt.Println(" fetch   Fetch the response only")
+	fmt.Println(" help    Print help")
+	fmt.Println(" version Print Cetus version")
+	fmt.Println("\nServices: ")
+	fmt.Println(" apod   NASA Astronomy Picture of the Day")
+	fmt.Println(" bpod   Bing Photo of the Day")
+}