Restructure
This commit is contained in:
parent
34fa69d58e
commit
d0b4b99cd9
@ -1,4 +1,4 @@
|
|||||||
package main
|
package hoster_cli
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
@ -11,7 +11,7 @@ import (
|
|||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func Execute() {
|
||||||
homeDir, err := os.UserHomeDir()
|
homeDir, err := os.UserHomeDir()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
golog.Fatalf("Error getting home directory: %v", err)
|
golog.Fatalf("Error getting home directory: %v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user