8000 Merge pull request #113 from create-go-app/dev · create-go-app/cli@57b77e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 57b77e5

Browse files
authored
Merge pull request #113 from create-go-app/dev
Fix project problem (GoLand)
2 parents 9323c31 + 5d5815b commit 57b77e5

File tree

16 files changed

+43
-22
lines changed

16 files changed

+43
-22
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ LICENSE
1414
# Folders
1515
.git/
1616
.github/
17+
.vscode/
18+
.idea/
1719
tmp/

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# macOS
22
**/.DS_Store
33

4+
# IDE
5+
.vscode/
6+
.idea/
7+
48
# Dev builds
59
**/build/
610
**/dist/

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ brews:
3333
owner: create-go-app
3434
name: homebrew-cli
3535

36-
# Template for the url which is determined by the given Token (github or gitlab)
36+
# Template for the url which is determined by the given Token (GitHub or gitlab)
3737
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
3838
url_template: "https://github.com/create-go-app/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
3939

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2021 Vic Shóstak and Create Go App Contributors
189+
Copyright 2022 Vic Shóstak and Create Go App Contributors
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

cmd/create.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ import (
1010
"time"
1111

1212
"github.com/AlecAivazis/survey/v2"
13+
"github.com/spf13/cobra"
14+
1315
"github.com/create-go-app/cli/v3/pkg/cgapp"
1416
"github.com/create-go-app/cli/v3/pkg/registry"
15-
"github.com/spf13/cobra"
1617
)
1718

1819
func init() {

cmd/deploy.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import (
88
"fmt"
99
"time"
1010

11+
"github.com/spf13/cobra"
12+
1113
"github.com/create-go-app/cli/v3/pkg/cgapp"
1214
"github.com/create-go-app/cli/v3/pkg/registry"
13-
"github.com/spf13/cobra"
1415
)
1516

1617
func init() {

cmd/root.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ package cmd
66

77
import (
88
"github.com/AlecAivazis/survey/v2"
9+
"github.com/spf13/cobra"
10+
911
"github.com/create-go-app/cli/v3/pkg/cgapp"
1012
"github.com/create-go-app/cli/v3/pkg/registry"
11-
"github.com/spf13/cobra"
1213
)
1314

1415
var (
@@ -39,8 +40,8 @@ var rootCmd = &cobra.Command{
3940
Long: `
4041
A powerful CLI for the Create Go App project.
4142
42-
Create a new production-ready project with backend (Golang),
43-
frontend (JavaScript, TypeScript) and deploy automation
43+
Create a new production-ready project with backend (Golang),
44+
frontend (JavaScript, TypeScript) and deploy automation
4445
(Ansible, Docker) by running one CLI command.
4546
4647
-> Focus on writing code and thinking of business logic!

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111

1212
require (
1313
github.com/Microsoft/go-winio v0.5.1 // indirect
14-
github.com/ProtonMail/go-crypto v0.0.0-20211112122917-428f8eabeeb3 // indirect
14+
github.com/ProtonMail/go-crypto v0.0.0-20211221144345-a4f6767435ab // indirect
1515
github.com/acomagu/bufpipe v1.0.3 // indirect
1616
github.com/emirpasic/gods v1.12.0 // indirect
1717
github.com/go-git/gcfg v1.5.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8 h1:xzYJEypr/85nB
6060
github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc=
6161
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
6262
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
63-
github.com/ProtonMail/go-crypto v0.0.0-20211112122917-428f8eabeeb3 h1:XcF0cTDJeiuZ5NU8w7WUDge0HRwwNRmxj/GGk6KSA6g=
64-
github.com/ProtonMail/go-crypto v0.0.0-20211112122917-428f8eabeeb3/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
63+
github.com/ProtonMail/go-crypto v0.0.0-20211221144345-a4f6767435ab h1:5FiL/TCaiKCss/BLMIACDxxadYrx767l9kh0qYX+sLQ=
64+
github.com/ProtonMail/go-crypto v0.0.0-20211221144345-a4f6767435ab/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
6565
github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=
6666
github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
6767
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=

pkg/cgapp/exec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
func ExecCommand(command string, options []string, silentMode bool) error {
1616
// Checking for nil.
1717
if command == "" || options == nil {
18-
return fmt.Errorf("No command to execute!")
18+
return fmt.Errorf("no command to execute")
1919
}
2020

2121
// Create buffer for stderr.

0 commit comments

Comments
 (0)
0