github.com/canonical/ubuntu-image@v0.0.0-20240430122802-2202fe98b290/internal/commands/classic.go (about)

     1  package commands
     2  
     3  // ClassicArgs holds the gadget tree. positional arguments need their own struct
     4  type ClassicArgs struct {
     5  	ImageDefinition string `positional-arg-name:"image_definition" description:"Classic image definition file. This is used to define what should be in the image and the outputs that are created."`
     6  }
     7  
     8  type ClassicCommand struct {
     9  	ClassicArgsPassed ClassicArgs `positional-args:"true" required:"false"`
    10  }