switched to go-mod, updated codegangsta/cli -> urfave/cli

This commit is contained in:
Stephan van Ellewee 2020-02-28 08:42:08 +02:00
parent a080c85cbc
commit f0fe6d57fd
466 changed files with 248599 additions and 5024 deletions

35
vendor/github.com/kr/pty/README.md generated vendored
View file

@ -1,36 +1,9 @@
# pty
Pty is a Go package for using unix pseudo-terminals.
This Go module has moved to <https://github.com/creack/pty>.
## Install
Existing clients will continue to work.
go get github.com/kr/pty
New clients should use the new module import path
`github.com/creack/pty`.
## Example
```go
package main
import (
"github.com/kr/pty"
"io"
"os"
"os/exec"
)
func main() {
c := exec.Command("grep", "--color=auto", "bar")
f, err := pty.Start(c)
if err != nil {
panic(err)
}
go func() {
f.Write([]byte("foo\n"))
f.Write([]byte("bar\n"))
f.Write([]byte("baz\n"))
f.Write([]byte{4}) // EOT
}()
io.Copy(os.Stdout, f)
}
```