We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3030d commit d497c90Copy full SHA for d497c90
def_test.go
@@ -526,6 +526,20 @@ func TestFluentAPI(t *testing.T) {
526
Group("").
527
DefaultValue(3.14159265358979323846264338327950288419716939937510582097494459230781640628620899, "PI")
528
529
+ co.NewFlag(cmdr.OptFlagTypeInt).
530
+ Titles("h", "head").
531
+ Description("", "").
532
+ Group("").
533
+ DefaultValue(1, "").
534
+ HeadLike(true, 1, 8000)
535
+
536
+ co.NewFlag(cmdr.OptFlagTypeString).
537
+ Titles("i", "ienum").
538
539
540
+ DefaultValue("", "").
541
+ ValidArgs("apple", "banana", "orange")
542
543
// ms tags
544
545
cTags := co.NewSubCommand().
0 commit comments