This commit is contained in:
2021-05-24 00:11:58 +03:00
parent 46aed94077
commit 890d99cd3e
3 changed files with 29 additions and 17 deletions

View File

@@ -9,6 +9,7 @@ import (
"go.uber.org/multierr"
)
// CmdRootFS is "rootfs" command
type CmdRootFS struct {
PositionalArgs struct {
Infile goflags.Filename `long:"infile" description:"Input tarball"`
@@ -16,6 +17,7 @@ type CmdRootFS struct {
} `positional-args:"yes" required:"yes"`
}
// Execute executes CmdRootFS
func (r *CmdRootFS) Execute(args []string) (err error) {
if len(args) != 0 {
return errors.New("too many args")