code: func (c *commandBase) ModifyContext(ctx context.Context) context.Context {
  	cfg := gologger.LoggerConfig{
  		Format: gologger.StdFormatWithColor,
  		Out:    os.Stderr,
  	}
  	opts, err := c.f.authFlags.Options()
  	if err != nil {
  		errors.Log(ctx, err)
  		panic("failed to get authentication options")
  	}
  	c.p.AuthOptions = opts
  	return withClient(cfg.Use(ctx), createClient(ctx, c.p))
  }
docs: // ModifyContext returns a new context to be used with subcommands.
  // Configures the context's logging and embeds the Machine Database RPC client.
  // Implements cli.ContextModificator.