description
This commit is contained in:
parent
10e675d289
commit
b0cb6bb850
@ -6,8 +6,8 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
goflags "github.com/jessevdk/go-flags"
|
|
||||||
"git.sr.ht/~motiejus/code/undocker/rootfs"
|
"git.sr.ht/~motiejus/code/undocker/rootfs"
|
||||||
|
goflags "github.com/jessevdk/go-flags"
|
||||||
)
|
)
|
||||||
|
|
||||||
const _description = "Flatten a docker container image to a tarball"
|
const _description = "Flatten a docker container image to a tarball"
|
||||||
@ -18,8 +18,8 @@ type Command struct {
|
|||||||
Stdout io.Writer
|
Stdout io.Writer
|
||||||
|
|
||||||
PositionalArgs struct {
|
PositionalArgs struct {
|
||||||
Infile goflags.Filename `long:"infile" desc:"Input tarball"`
|
Infile goflags.Filename `long:"infile" description:"Input tarball"`
|
||||||
Outfile string `long:"outfile" desc:"Output path, stdout is '-'"`
|
Outfile string `long:"outfile" description:"Output path, stdout is '-'"`
|
||||||
} `positional-args:"yes" required:"yes"`
|
} `positional-args:"yes" required:"yes"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user