code: def get_env_args(env):
      
      for arg, val in env.vars.get('global_args', {}).items():
          if val is True:
              yield '--%s' % arg
          elif isinstance(val, int):
              for _ in range(val):
                  yield '--%s' % arg
          elif val is None:
              continue
          else:
              yield '--%s=%s' % (arg, val)
docs: Yield options to inject into the slcli command from the environment.