Restructure

This commit is contained in:
trading_peter 2024-09-11 11:41:04 +02:00
parent 34fa69d58e
commit d0b4b99cd9
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
package main
package hoster_cli
import (
"os"
@ -11,7 +11,7 @@ import (
"github.com/urfave/cli/v2"
)
func main() {
func Execute() {
homeDir, err := os.UserHomeDir()
if err != nil {
golog.Fatalf("Error getting home directory: %v", err)

7
main.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "gitea.codeblob.work/pk/hoster/cmd/hoster_cli"
func main() {
hoster_cli.Execute()
}