packagemainimport("fmt""github.com/leaanthony/clir")funcmain(){// Create new clicli:=clir.NewCli("Other Args","A basic example","v0.0.1")// Set long descriptioncli.LongDescription("This app shows additional arguments passed to your commands")// Namevarnamestringcli.StringFlag("name","Your name",&name)// Define actioncli.Action(func()error{println("Your name is",name)fmt.Printf("The remaining arguments were: %+v\n",cli.OtherArgs())returnnil})// Using a subcommand instead of a flagnameCommand:=cli.NewSubCommand("namecommand","Shows your name!")nameCommand.Action(func()error{fmt.Printf("The remaining arguments were: %+v\n",nameCommand.OtherArgs())returnnil})// Run!cli.Run()}