summary refs log tree commit diff stats
path: root/cmd
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-19 00:13:54 +0530
committerAndinus <andinus@nand.sh>2020-03-19 00:13:54 +0530
commit50900c5e18bd5aa1a2329ca3d53ca3713ec5d137 (patch)
treec009a73adf2225b56b654f8ea20ceb9fc6d836e0 /cmd
parente96878ff2d111c91feaf4308240902795b911253 (diff)
downloadcetus-50900c5e18bd5aa1a2329ca3d53ca3713ec5d137.tar.gz
Remove package cetus
Moved req.go to request package & version to main.go
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cetus/main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/cetus/main.go b/cmd/cetus/main.go
index 7629cd2..f73e391 100644
--- a/cmd/cetus/main.go
+++ b/cmd/cetus/main.go
@@ -10,7 +10,6 @@ import (
 	"framagit.org/andinus/cetus/pkg/apod"
 	"framagit.org/andinus/cetus/pkg/background"
 	"framagit.org/andinus/cetus/pkg/bpod"
-	"framagit.org/andinus/cetus/pkg/cetus"
 )
 
 func main() {
@@ -24,8 +23,10 @@ func main() {
 		os.Exit(1)
 	}
 
+	version := "v0.5.0"
+
 	if os.Args[1] == "version" {
-		cetus.Version()
+		fmt.Printf("Cetus %s\n", version)
 		os.Exit(0)
 	}