Explicitly specify '.' as the target.
Clayton Coleman authored on 2016/08/17 06:58:55... | ... |
@@ -56,6 +56,8 @@ func NewCmdExtract(fullName string, f *clientcmd.Factory, in io.Reader, out, err |
56 | 56 |
options := &ExtractOptions{ |
57 | 57 |
Out: out, |
58 | 58 |
Err: errOut, |
59 |
+ |
|
60 |
+ TargetDirectory: ".", |
|
59 | 61 |
} |
60 | 62 |
cmd := &cobra.Command{ |
61 | 63 |
Use: "extract RESOURCE/NAME [--to=DIRECTORY] [--keys=KEY ...]", |