> ## Documentation Index
> Fetch the complete documentation index at: https://graph.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# graph plan migrate

> Rewrite a plan file to the current plan format

Rewrites one plan file to the current plan file version. A file already at the current version is left untouched.

## Arguments

**NAME\_OR\_PATH** `string` *required*

The plan's identifier or YAML file path

## Options

**--json** `boolean`

Print a JSON envelope instead of text

## Global options

**-v, --verbose** `integer`

Increase log verbosity (-v info, -vv debug, -vvv trace)

```bash Usage theme={null}
graph plan migrate [OPTIONS] <NAME_OR_PATH>
```

```bash Example theme={null}
graph plan migrate .graph/plans/weekly_changes.yaml
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.