DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
flag.Args()
Examples using...
flag.Args()
Recent
OS Process
Parse Command-line Flags
Parse Command-line Flags in Go
by yhuang
Go
flag.Args
fmt.Println
flag
flag.Bool
flag.Int
Go provides a flag package supporting basic command-line flag parsing. We’ll use this package to implement our example command-line program.