code: func (s *SpecFile) Execute(args []string) error {
  	input, err := loadSpec(string(s.Input))
  	if err != nil {
  		return err
  	}
  
  	var opts scan.Opts
  	opts.BasePath = s.BasePath
  	opts.Input = input
  	opts.ScanModels = s.ScanModels
  	opts.BuildTags = s.BuildTags
  	opts.Include = s.Include
  	opts.Exclude = s.Exclude
  	opts.IncludeTags = s.IncludeTags
  	opts.ExcludeTags = s.ExcludeTags
  	swspec, err := scan.Application(opts)
  	if err != nil {
  		return err
  	}
  
  	return writeToFile(swspec, !s.Compact, string(s.Output))
  }
docs: // Execute runs this command