isolate repo create command

This commit is contained in:
vilmibm 2020-07-24 10:50:24 -05:00
parent 75120344c3
commit c34054bdc8
13 changed files with 635 additions and 518 deletions

View file

@ -11,6 +11,19 @@ import (
"github.com/cli/cli/internal/run"
)
// TODO copypasta from command package
type CmdOut struct {
OutBuf, ErrBuf *bytes.Buffer
}
func (c CmdOut) String() string {
return c.OutBuf.String()
}
func (c CmdOut) Stderr() string {
return c.ErrBuf.String()
}
// OutputStub implements a simple utils.Runnable
type OutputStub struct {
Out []byte