github.com/ninadingole/gotest-ls@v0.0.3/docs.go (about)

     1  // gotest-ls provides a list of all tests in a package or a file in JSON format.
     2  //
     3  // Usage:
     4  //
     5  //	gotest-ls [flags] [directories...]
     6  //
     7  // Examples:
     8  //
     9  //	gotest-ls .
    10  //	gotest-ls -p ./cmd
    11  //	gotest-ls -p ./cmd ./pkg
    12  //	gotest-ls -f ./pkg/random_test.go
    13  //	gotest-ls -p -f ./pkg/random_test.go
    14  //
    15  // Flags:
    16  //
    17  //	-f, --file string   Path to a file, cannot be used with directories
    18  //	-h, --help          help for gotest-ls
    19  //	-p, --pretty        Pretty print the output in JSON format
    20  package main