- I think it would be better if one for commands only, one for the spec handling core logic so people won't be confused by the core logic inside the commands folder (cleaner I guess) - Regen docs
21 lines
614 B
Go
21 lines
614 B
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "networkQuality",
|
|
Description: "Measure the different aspects of network quality",
|
|
Options: []spec.Option{
|
|
{Name: "-h", Description: "Show help for networkQuality"},
|
|
{Name: "-c", Description: "Produce computer readable output"},
|
|
{Name: "-s", Description: "Run tests sequentially instead of in parallel"},
|
|
{Name: "-v", Description: "Verbose output"},
|
|
{Name: "-C", Description: "Use a custom configuration URL"},
|
|
{Name: "-I", Description: "Bind test to interface"},
|
|
},
|
|
})
|
|
}
|