We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parents9323c31 +5d5815b commit57b77e5Copy full SHA for 57b77e5
.dockerignore
@@ -14,4 +14,6 @@ LICENSE
14
# Folders
15
.git/
16
.github/
17
+.vscode/
18
+.idea/
19
tmp/
.gitignore
@@ -1,6 +1,10 @@
1
# macOS
2
**/.DS_Store
3
4
+# IDE
5
6
7
+
8
# Dev builds
9
**/build/
10
**/dist/
.goreleaser.yml
@@ -33,7 +33,7 @@ brews:
33
owner:create-go-app
34
name:homebrew-cli
35
36
-# Template for the url which is determined by the given Token (github or gitlab)
+# Template for the url which is determined by the given Token (GitHub or gitlab)
37
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
38
url_template:"https://github.com/create-go-app/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
39
LICENSE
@@ -186,7 +186,7 @@
186
same "printed page" as the copyright notice for easier
187
identification within third-party archives.
188
189
- Copyright2021 Vic Shóstak and Create Go App Contributors
+ Copyright2022 Vic Shóstak and Create Go App Contributors
190
191
Licensed under the Apache License, Version 2.0 (the "License");
192
you may not use this file except in compliance with the License.
cmd/create.go
@@ -10,9 +10,10 @@ import (
"time"
11
12
"github.com/AlecAivazis/survey/v2"
13
+"github.com/spf13/cobra"
"github.com/create-go-app/cli/v3/pkg/cgapp"
"github.com/create-go-app/cli/v3/pkg/registry"
-"github.com/spf13/cobra"
)
funcinit() {
cmd/deploy.go
@@ -8,9 +8,10 @@ import (
"fmt"
cmd/root.go
@@ -6,9 +6,10 @@ package cmd
import (
var (
@@ -39,8 +40,8 @@ var rootCmd = &cobra.Command{
40
Long:`
41
A powerful CLI for the Create Go App project.
42
-Create a new production-ready project with backend (Golang),
43
-frontend (JavaScript, TypeScript) and deploy automation
+Create a new production-ready project with backend (Golang),
44
+frontend (JavaScript, TypeScript) and deploy automation
45
(Ansible, Docker) by running one CLI command.
46
47
-> Focus on writing code and thinking of business logic!
go.mod
@@ -11,7 +11,7 @@ require (
require (
github.com/Microsoft/go-winiov0.5.1// indirect
-github.com/ProtonMail/go-cryptov0.0.0-20211112122917-428f8eabeeb3// indirect
+github.com/ProtonMail/go-cryptov0.0.0-20211221144345-a4f6767435ab// indirect
github.com/acomagu/bufpipev1.0.3// indirect
github.com/emirpasic/godsv1.12.0// indirect
github.com/go-git/gcfgv1.5.0// indirect
go.sum
@@ -60,8 +60,8 @@ github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8 h1:xzYJEypr/85nB
60
github.com/Netflix/go-expectv0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc=
61
github.com/OneOfOne/xxhashv1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
62
github.com/ProtonMail/go-cryptov0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
63
-github.com/ProtonMail/go-cryptov0.0.0-20211112122917-428f8eabeeb3 h1:XcF0cTDJeiuZ5NU8w7WUDge0HRwwNRmxj/GGk6KSA6g=
64
-github.com/ProtonMail/go-cryptov0.0.0-20211112122917-428f8eabeeb3/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
+github.com/ProtonMail/go-cryptov0.0.0-20211221144345-a4f6767435ab h1:5FiL/TCaiKCss/BLMIACDxxadYrx767l9kh0qYX+sLQ=
+github.com/ProtonMail/go-cryptov0.0.0-20211221144345-a4f6767435ab/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
65
github.com/acomagu/bufpipev1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=
66
github.com/acomagu/bufpipev1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
67
github.com/alecthomas/templatev0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
pkg/cgapp/exec.go
@@ -15,7 +15,7 @@ import (
funcExecCommand(commandstring,options []string,silentModebool)error {
// Checking for nil.
ifcommand==""||options==nil {
-returnfmt.Errorf("No command to execute!")
+returnfmt.Errorf("no command to execute")
}
20
21
// Create buffer for stderr.