Open rhamzeh opened 9 months ago
For this component: https://github.com/openfga/openfga.dev/blob/main/src/components/Docs/SnippetViewer/WriteAuthzModelViewer.tsx
Remove all except the CLI
And for the CLI, echo the model DSL into a temp file and have the CLI write that file
What does it mean "And for the CLI, echo the model DSL into a temp file and have the CLI write that file"? Would we tell them to do that? would the snippet include echo "..." > file?
For this component: https://github.com/openfga/openfga.dev/blob/main/src/components/Docs/SnippetViewer/WriteAuthzModelViewer.tsx
Remove all except the CLI
And for the CLI, echo the model DSL into a temp file and have the CLI write that file