Skip to content

Commit d3deeec

Browse files
author
norbertwagner
committed
New help section
1 parent c788a1e commit d3deeec

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Created new help section

main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//TODO - create Windows installer - Patryk
22
//TODO - create new README.md - Norbert
33
//TODO - create new WIKI - Norbert
4-
//TODO - new help section - Patryk
54

65
//TODO - WebPage
76

models/staticCLI.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ import (
88

99
func HelpCLI(version string) {
1010
color.Green("Godemon %v:", version)
11-
fmt.Println("to do -cnf -cmd -deploy -path -command -help -init -name -os -arch -mod -file") //("\n 1. -cnf <- in this flag put info about what do you want to do - if use cmd just -cmd option, if config file use -cnf \n2. -path <- path to file/directory \n 3. -modOrFile <- are you using modules or one file \n 4. -command <- binded command in config file \n 5. -name <- name of project \n 6. -os <- OS platform \n 7. -arch <- architecture \n 8. -init <- initializazition of project \n\n Have a problem? Go on my GitHub and see the README.md - https://github.com/Godemon-simplify-your-Go-programming/godemon \n")
11+
fmt.Printf("\nWhat flags do we have in Godemon? \n 1. Methods of godemon's runtime:" +
12+
"\n a) -cnf - using project.json file to load godemon project specifications,\n b) -cmd - manualy passing godemon project specification using the CLI,\n c) -deploy - deploying the project using specifications from project.json or CLI\n" +
13+
" 2. Other flags:\n a) -path - path to file or dir,\n b) -mod - specyfing that runtime option is using go modules,\n" +
14+
" c) -file - specyfing that runtime option is using single go file,\n d) -os - specyfing the GOOS,\n" +
15+
" e) -arch - specyfing the GOARCH,\n f) -name - specyfing the name of project/command/file\n" +
16+
" 3. project.json initialization and update:\n a) -init - initializating the project.json and go module,\n" +
17+
" b) -addCmd - adding command to project.json,\n c) -addFile - adding file to project.json") //("\n 1. -cnf <- in this flag put info about what do you want to do - if use cmd just -cmd option, if config file use -cnf \n2. -path <- path to file/directory \n 3. -modOrFile <- are you using modules or one file \n 4. -command <- binded command in config file \n 5. -name <- name of project \n 6. -os <- OS platform \n 7. -arch <- architecture \n 8. -init <- initializazition of project \n\n Have a problem? Go on my GitHub and see the README.md - https://github.com/Godemon-simplify-your-Go-programming/godemon \n")
1218
os.Exit(1)
1319
}

0 commit comments

Comments
 (0)