Change label apis to accept global flags.
Change label commands to accept global flags.
Add label features to ci.