# skmtc migrate



Bare `skmtc migrate` prints the subcommand usage and exits with
code 2.

## skmtc migrate variants [#skmtc-migrate-variants]

Migrate a project's `client.json` to the variant-aware shape
introduced in `@skmtc/core@0.5.0`: operation enrichments are wrapped
under the trailing `variant` level, and `skip`/`include` filters are
reshaped for the variant axis. Idempotent — safe to re-run; an
already-migrated file is left unchanged.

### Synopsis [#synopsis]

```
skmtc migrate variants <project> [--json]
```

### Arguments [#arguments]

#### `<project>` [#project]

The target project name (its `.skmtc/<project>/.settings/client.json`
is migrated in place).

### Options [#options]

#### `--json` [#--json]

Write a structured JSON result to stdout.

## See also [#see-also]

* [Variants concept](/docs/concepts/variants) — the variant axis
  the migrated shape feeds
* [client.json schema](/docs/reference/settings/client-json-schema)
