summaryrefslogtreecommitdiff
path: root/internal/commands/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/commands/errors.go')
-rw-r--r--internal/commands/errors.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/commands/errors.go b/internal/commands/errors.go
new file mode 100644
index 000000000..481053c33
--- /dev/null
+++ b/internal/commands/errors.go
@@ -0,0 +1,8 @@
+package commands
+
+import (
+ "errors"
+)
+
+// ErrStdinIsNotTerminal is returned when Stdin is not an interactive terminal.
+var ErrStdinIsNotTerminal = errors.New("stdin is not a terminal")