Schema: introduce CLI command to convert all CUE files to TS (#39694)

* First pass at cuetsify command

* Update go deps

* Small tweaks to input cue files

* Correct ts import structure, whitespace

* Latest version of cuetsy

* add ordinal option

* upate cue file

* Fix merge garbage

* Remove dead code

* Revert "upate cue file"

This reverts commit e40b1df83e.

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
sam boyer
2021-09-29 04:59:05 -04:00
committed by GitHub
parent 4263357bbc
commit c786d22705
10 changed files with 362 additions and 58 deletions

View File

@@ -18,10 +18,9 @@ Panel: {
lineages: [
[
{
TextMode: "html" | "markdown" @cuetsy(kind="enum",withName="TextMode")
TextMode: "html" | "markdown" @cuetsy(kind="enum",memberNames="HTML|Markdown")
PanelOptions: {
mode: TextMode | *"markdown"
mode: TextMode | *"markdown"
content: string | *"""
# Title