apple testflight groups: bare lists the groups and what the config would create (read-only); groups sync (or --yes) creates; flows: bare = read, sync = write; MCP tool runs groups sync
This commit is contained in:
parent
1724296e59
commit
41d2ffcc24
12 changed files with 44 additions and 13 deletions
|
|
@ -97,6 +97,7 @@ export function classify(argv: string[]): StepKind {
|
|||
const w = words(argv);
|
||||
if (OWNER.some(p => starts(w, p)) || argv.some(a => OWNER_ARGS.includes(a))) return argv.includes('--dry') && !argv.some(a => OWNER_ARGS.includes(a)) ? 'read' : 'owner';
|
||||
if (WAIT.some(p => starts(w, p))) return 'wait';
|
||||
if (starts(w, ['apple', 'testflight', 'groups', 'sync'])) return 'write';
|
||||
if (READ.some(p => starts(w, p))) return 'read';
|
||||
// `api` reads run, writes stay dry inside the command itself; treat it as a write so it gets --dry
|
||||
return 'write';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue