(ctx context.Context)
| 214 | } |
| 215 | |
| 216 | func commandConfigStore(ctx context.Context) (*config.ConfigStore, error) { |
| 217 | if runtime, ok := app.FromContext(ctx); ok { |
| 218 | if err := configureRuntimeConfig(runtime); err != nil { |
| 219 | return nil, err |
| 220 | } |
| 221 | return runtime.Config, nil |
| 222 | } |
| 223 | return nil, errRuntimeRequired |
| 224 | } |