github.com/daixiang0/gci@v0.13.0/cmd/gci/list.go (about) 1 package gci 2 3 import ( 4 "github.com/daixiang0/gci/pkg/gci" 5 ) 6 7 // listCmd represents the list command 8 func (e *Executor) initList() { 9 e.newGciCommand( 10 "list path...", 11 "Prints filenames that need to be formatted to STDOUT", 12 "Prints the filenames that need to be formatted. If you want to show the diff use diff instead, and if you want to apply the changes use write instead", 13 []string{}, 14 false, 15 gci.ListUnFormattedFiles) 16 }