@SuppressWarnings("unchecked")
    @API(status = API.Status.STABLE)
    public @Nullable CommandFlagParser<@NonNull C> flagParser() {
        final CommandComponent<C> flagComponent = this.flagComponent();
        if (flagComponent == null) {
            return null;
        }
        return (CommandFlagParser<C>) flagComponent.parser();
    }
Returns the flag parser for this command, of {@code null} if the command has no flags.

@return flag parser, or {@code null} if no flags have been registered
cloud-core/src/main/java/org/incendo/cloud/Command.java