add IsResourceHeavy() to command interface

This commit is contained in:
chrislu
2024-09-28 20:23:01 -07:00
parent dad3a26fb6
commit 701abbb9df
73 changed files with 295 additions and 2 deletions
+4
View File
@@ -56,6 +56,10 @@ func (c *commandEcEncode) Help() string {
`
}
func (c *commandEcEncode) IsResourceHeavy() bool {
return false
}
func (c *commandEcEncode) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
encodeCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)