MCPcopy
hub / github.com/MiniMax-AI/cli / makeConfig

Function makeConfig

test/commands/file/delete.test.ts:7–23  ·  view source on GitHub ↗
(overrides: Partial<Config> = {})

Source from the content-addressed store, hash-verified

5import type { GlobalFlags } from '../../../src/types/flags';
6
7function makeConfig(overrides: Partial<Config> = {}): Config {
8 return {
9 apiKey: 'test-key',
10 region: 'global',
11 baseUrl: 'https://api.mmx.io',
12 output: 'text',
13 timeout: 10,
14 verbose: false,
15 quiet: false,
16 noColor: true,
17 yes: false,
18 dryRun: false,
19 nonInteractive: true,
20 async: false,
21 ...overrides,
22 };
23}
24
25const baseFlags: GlobalFlags = {
26 quiet: false,

Callers 1

delete.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected