-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(modify): gofmt -w . to maintain format
- Loading branch information
1 parent
efb1e81
commit bc15a30
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
package main | ||
import( | ||
|
||
import ( | ||
"flag" | ||
kaizen "github.com/serene-brew/Kaizen/src" | ||
) | ||
|
||
//Main entrypoint for the application | ||
// Main entrypoint for the application | ||
func main() { | ||
uninstalFlag := flag.Bool("uninstall", false, "Run the uninstaller script") | ||
updateFlag := flag.Bool("update", false, "Run the update script") | ||
versionFlag := flag.Bool("v", false, "views version information") | ||
versionFlag := flag.Bool("v", false, "views version information") | ||
flag.Parse() | ||
|
||
if *uninstalFlag { | ||
kaizen.RunUninstalScript() | ||
} else if *versionFlag{ | ||
} else if *versionFlag { | ||
kaizen.ViewVersion() | ||
}else if *updateFlag{ | ||
} else if *updateFlag { | ||
kaizen.RunUpdateScript() | ||
}else{ | ||
} else { | ||
kaizen.ExecuteAppStub() | ||
} | ||
} |