Skip to content

Commit 533e461

Browse files
committed
docs: update migration guide with new options
1 parent f7d9af0 commit 533e461

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/user_guides/migration_guide.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,16 @@ The tool modifies the original files. It is recommended to use version control t
8989
To use the conversion tool, use the following command:
9090

9191
```bash
92-
nemoguardrails convert /path/to/directory
92+
nemoguardrails convert --from-version '1.0' "path/to/config"
9393
```
9494

9595
The `convert` command has several options:
9696

97+
- `--from-version`: The version of the colang files to migrate from. Available options: ['1.0', '2.0-alpha']. Default is `1.0`.
9798
- `--verbose` or `--no-verbose`: If the migration should be verbose and output detailed logs. Default is `no-verbose`.
9899
- `--validate` or `--no-validate`: If the migration should validate the output using Colang Parser. Default is `no-validate`.
99100
- `--use-active-decorator` or `--no-use-active-decorator`: If the migration should use the `active` decorator. Default is `use-active-decorator`.
101+
- `--include-main-flow` or `--no-include-main-flow`: If the migration should add a main flow to the config. Default is `include-main-flow`.
100102

101103
## Assumptions and Limitations
102104

0 commit comments

Comments
 (0)