func (client *Client) AddFlags(cmd *cobra.Command) {
	cmd.PersistentFlags().StringVar(&client.Token, "token", "",
		"The OAuth Token to use for requests.")
	cmd.PersistentFlags().StringVar(&client.TokenFile, "token-file", "",
		"The file containing the OAuth Token to use for requests.")
	cmd.PersistentFlags().StringVar(&client.Org, "organization", "",
		"The github organization to scan")
	cmd.PersistentFlags().StringVar(&client.Project, "project", "",
		"The github project to scan")
}
func (client *Client) AddFlags(cmd *cobra.Command) {
	cmd.PersistentFlags().StringVar(&client.Token, "token", "",
		"The OAuth Token to use for requests.")
	cmd.PersistentFlags().StringVar(&client.TokenFile, "token-file", "",
		"The file containing the OAuth Token to use for requests.")
	cmd.PersistentFlags().StringVar(&client.Org, "organization", "",
		"The github organization to scan")
	cmd.PersistentFlags().StringVar(&client.Project, "project", "",
		"The github project to scan")
}
func ( client * Client ) AddFlags ( cmd * cobra . Command ) { cmd . PersistentFlags ( ) . StringVar ( & client . Token , " " , " " , " " ) cmd . PersistentFlags ( ) . StringVar ( & client . TokenFile , " " , " " , " " ) cmd . PersistentFlags ( ) . StringVar ( & client . Org , " " , " " , " " ) cmd . PersistentFlags ( ) . StringVar ( & client . Project , " " , " " , " " ) }
// AddFlags parses options for github client
AddFlags parses options for github client