View definition

(*Command).ArgsLenAtDash

Defined in github.com/spf13/cobra/command.go

Description

ArgsLenAtDash will return the length of f.Args at the moment when a -- was found during arg parsing. This allows your program to know which args were before the -- and which came after. (Description from https://godoc.org/github.com/spf13/pflag#FlagSet.ArgsLenAtDash).

ArgsLenAtDash is referenced in 1 repository

github.com/spf13/cobra