code: func run(c *cobra.Command, args []string) error {
  	var command string
  
  	if dir == "" {
  		pwd, err := os.Getwd()
  		if err != nil {
  			return err
  		}
  
  		dir = pwd
  	}
  
  	if len(args) > 0 {
  		command = args[0]
  		args = args[1:]
  	} else {
  		return errors.New("No command specified")
  	}
  
  	err := root.Project.LoadFunctions()
  	if err != nil {
  		return err
  	}
  
  	p := &exec.Proxy{
  		Functions:   root.Project.Functions,
  		Region:      *root.Session.Config.Region,
  		Environment: root.Project.InfraEnvironment,
  		Role:        root.Project.Role,
  		Dir:         dir,
  	}
  
  	return p.Run(command, args...)
  }
docs: // Run command.