diff --git a/README.md b/README.md index b1ddd19..d1d8ae5 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ OpenFGA is designed to make it easy for application builders to model their perm ## Usage -The extension currently offers 2 core features, with more to come. +The extension currently offers 3 core features, with more to come. - Syntax Highlighting for OpenFGA files - A unique theme for OpenFGA for VS Code @@ -41,6 +41,15 @@ The extension currently offers 2 core features, with more to come. ![Prompt to set OpenFGA Dark color scheme](resources/set-color-scheme.png) +- A command to transform `OpenFGA` files to `JSON` + - Open an `OpenFGA` file in the editor + - Open the `Command Pallette` using Ctrl+Shift+P (Windows) or Command+Shift+P (OSX) + - Select `OpenFGA: Transform DSL to JSON` + - A new tab will open with the transformed code + +![Prompt to execute OpenFGA: Transform DSL to JSON command](resources/transform-command-select.png) + + ## Development diff --git a/package.json b/package.json index 5447e8b..9b255e8 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "version": "1.0.0", "repository": { "type": "git", - "url": "https://github.com:openfga/openfga-vscode" + "url": "https://github.com/openfga/openfga-vscode" }, "bugs": { "url": "https://github.com/openfga/openfga-vscode/issues" diff --git a/resources/transform-command-select.png b/resources/transform-command-select.png new file mode 100644 index 0000000..b6a846c Binary files /dev/null and b/resources/transform-command-select.png differ