code: def add_exec_to_user(
          self, 
          name,
          env,
          command,
          args,
          **attrs
          ):
          
          # Add exec option.
          exec_options = {
              'command': command,
              'env': env,
              'args': args,
          }
          exec_options.update(attrs)
          # Add exec to user.
          self.add_to_user(name=name, exec=exec_options)
docs: Add an exec option to your user.