feat: Add neofetch with ASCII command

This commit is contained in:
Wanjohi
2024-06-03 00:33:51 +03:00
parent 4c723d8bc8
commit a61c44bfe8
6 changed files with 174 additions and 39 deletions

24
main.go
View File

@@ -1,23 +1,11 @@
/*
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
*/
package main
import (
"fmt"
"runtime"
)
import "github.com/netrisdotme/cli/cmd"
func main() {
switch runtime.GOOS {
case "windows":
//This is where we should build our nestri "nest"
fmt.Println("You're on Windows!")
case "darwin":
//do nothing (probably deploy to AWS, Vast.ai and the rest) plus Linux & Windows
fmt.Println("You're on macOS!")
case "linux":
//This is where we should build our nestri "server"
fmt.Println("You're on Linux!")
default:
fmt.Printf("Unsupported operating system: %s\n", runtime.GOOS)
}
cmd.Execute()
}