Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Commit aecaf3f

Browse files
committed
Remove app.go
1 parent 431c754 commit aecaf3f

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

app.go

Lines changed: 0 additions & 11 deletions
This file was deleted.

cli-template.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ build:
22
- go build -o theapp
33
files:
44
- .gitignore
5-
- app.go
65
- main.go
76
main: app.go
87
command: ./theapp

main.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
package main
22

33
import (
4-
"os"
4+
"fmt"
5+
"os"
56
)
67

78
func main() {
8-
run(os.Args)
9+
for _, arg := range os.Args[1:] {
10+
fmt.Println(arg)
11+
}
912
}

0 commit comments

Comments
 (0)