Let's say we want to be able to set the log level for all subcommands. Right now it is necessary to register the global flags for each subcommand separately. It would be useful to have a function that would allow us to register a flag for a command it it would be inherited by all its subcommands.