github.com/replit/upm@v0.0.0-20240423230255-9ce4fc3ea24c/internal/cli/types.go (about)

     1  package cli
     2  
     3  // outputFormat is an enum representing the argument of the --format
     4  // option.
     5  type outputFormat int
     6  
     7  // Values for outputFormat.
     8  const (
     9  	// --format=table
    10  	outputFormatTable outputFormat = iota
    11  
    12  	// --format=json
    13  	outputFormatJSON
    14  )