We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94ad12f commit 85b2644Copy full SHA for 85b2644
run/show.go
@@ -2,6 +2,7 @@ package run
2
3
import (
4
"fmt"
5
+ "os"
6
"strings"
7
8
"github.com/dex4er/tf/util"
@@ -20,6 +21,8 @@ func Show(args []string) error {
20
21
noOutputs = false
22
} else if strings.HasPrefix(arg, "-") {
23
newArgs = append(newArgs, arg)
24
+ } else if _, err := os.Stat(arg); err == nil {
25
+ newArgs = append(newArgs, arg)
26
} else {
27
resources = append(resources, util.AddQuotes(arg))
28
}
0 commit comments