We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1d084f commit 6e8c206Copy full SHA for 6e8c206
1 file changed
cmd/creator.go
@@ -5,12 +5,10 @@ import (
5
"github.com/AlecAivazis/survey/v2"
6
dc "github.com/dockware/dockware-cli/dockercompose"
7
"github.com/spf13/cobra"
8
- "golang.org/x/term"
9
"log"
10
"os"
11
"os/exec"
12
"strings"
13
- "syscall"
14
)
15
16
type Answers struct {
@@ -30,10 +28,6 @@ var creatorCmd = &cobra.Command{
30
28
Short: "Use the interactive dockware creator to get what you need for today's task",
31
29
Long: "",
32
Run: func(cmd *cobra.Command, args []string) {
33
- if !term.IsTerminal(syscall.Stdin) {
34
- log.Fatal("interactive terminal required")
35
- }
36
-
37
a := &Answers{}
38
a.getDevIntent()
39
0 commit comments