code: func (m *Meta) backendCLIOpts() *backend.CLIOpts {
  	return &backend.CLIOpts{
  		CLI:                 m.Ui,
  		CLIColor:            m.Colorize(),
  		ShowDiagnostics:     m.showDiagnostics,
  		StatePath:           m.statePath,
  		StateOutPath:        m.stateOutPath,
  		StateBackupPath:     m.backupPath,
  		ContextOpts:         m.contextOpts(),
  		Input:               m.Input(),
  		RunningInAutomation: m.RunningInAutomation,
  	}
  }
docs: // backendCLIOpts returns a backend.CLIOpts object that should be passed to
  // a backend that supports local CLI operations.