File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -89,14 +89,16 @@ The tool modifies the original files. It is recommended to use version control t
89
89
To use the conversion tool, use the following command:
90
90
91
91
``` bash
92
- nemoguardrails convert / path/to/directory
92
+ nemoguardrails convert --from-version ' 1.0 ' " path/to/config "
93
93
```
94
94
95
95
The ` convert ` command has several options:
96
96
97
+ - ` --from-version ` : The version of the colang files to migrate from. Available options: [ '1.0', '2.0-alpha'] . Default is ` 1.0 ` .
97
98
- ` --verbose ` or ` --no-verbose ` : If the migration should be verbose and output detailed logs. Default is ` no-verbose ` .
98
99
- ` --validate ` or ` --no-validate ` : If the migration should validate the output using Colang Parser. Default is ` no-validate ` .
99
100
- ` --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 ` .
100
102
101
103
## Assumptions and Limitations
102
104
You can’t perform that action at this time.
0 commit comments