{
  "id": "nativescript",
  "name": "NativeScript CLI",
  "homepage": "https://nativescript.org",
  "description": "NativeScript CLI - command-line tools.",
  "icon": "SimpleIcons:nativescript",
  "executables": [
    "ns",
    "tns",
    "nativescript"
  ],
  "dotfiles": {
    "paths": [
      "~/.local/share/.nativescript-cli/user-settings.json",
      "%APPDATA%/.nativescript-cli/user-settings.json"
    ],
    "exclude": [],
    "secret": [],
    "machine_lines": [
      {
        "file": [
          "~/.local/share/.nativescript-cli/user-settings.json",
          "%APPDATA%/.nativescript-cli/user-settings.json"
        ],
        "match": {
          "key_path": [
            "AnalyticsInstallationID"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "NativeScript CLI",
    "description": "Create, build and run NativeScript apps. Use the tabs for create, build and run; plugins, debugging and tests are left out.",
    "quality": "ai-draft",
    "base": "fig:ns",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/ns.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "create"
        ],
        "label": "Create a project",
        "description": "Create a new NativeScript project.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ns.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Application name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "template",
            "label": "Template",
            "type": "string",
            "option": [
              "--template"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "angular",
            "label": "Angular template",
            "type": "boolean",
            "option": [
              "--angular"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "react",
            "label": "React template",
            "type": "boolean",
            "option": [
              "--react"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "vue",
            "label": "Vue template",
            "type": "boolean",
            "option": [
              "--vue"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "svelte",
            "label": "Svelte template",
            "type": "boolean",
            "option": [
              "--svelte"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "typescript",
            "label": "Plain TypeScript",
            "type": "boolean",
            "option": [
              "--typescript"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "javascript",
            "label": "Plain JavaScript",
            "type": "boolean",
            "option": [
              "--javascript"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "path",
            "label": "Directory",
            "type": "path",
            "option": [
              "--path"
            ],
            "path": {
              "kind": "directory",
              "role": "output"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "appid",
            "label": "Application identifier",
            "type": "string",
            "option": [
              "--appid"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create",
            "fields": [
              "name",
              "appid"
            ],
            "required": [
              "name"
            ]
          },
          {
            "id": "vue",
            "label": "Create a Vue project",
            "fields": [
              "name",
              "vue"
            ],
            "required": [
              "name"
            ],
            "set": {
              "vue": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "template",
              "angular",
              "react",
              "vue",
              "svelte",
              "typescript",
              "javascript"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "path",
              "appid"
            ]
          }
        ]
      },
      {
        "path": [
          "build"
        ],
        "label": "Build the project",
        "description": "Build the project. Pick a platform on the command line (android or ios); the form builds with the default.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ns.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "release",
            "label": "Release build",
            "type": "boolean",
            "option": [
              "--release"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clean",
            "label": "Rebuild native application",
            "type": "boolean",
            "option": [
              "--clean"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force",
            "label": "Skip compatibility checks",
            "type": "boolean",
            "option": [
              "--force"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "hmr",
            "label": "Hot module replacement",
            "type": "boolean",
            "option": [
              "--hmr"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "copy_to",
            "label": "Copy built package to",
            "type": "path",
            "option": [
              "--copy-to"
            ],
            "path": {
              "kind": "any",
              "role": "output"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "device",
            "label": "Device ID",
            "type": "string",
            "option": [
              "--device"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "release",
            "label": "Release build",
            "fields": [
              "release",
              "clean"
            ],
            "required": [
              "release"
            ],
            "set": {
              "release": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "release",
              "clean",
              "force",
              "hmr",
              "copy_to",
              "device"
            ]
          }
        ]
      },
      {
        "path": [
          "run"
        ],
        "label": "Run the project",
        "description": "Run on connected devices or emulators.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ns.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "device",
            "label": "Device ID",
            "type": "string",
            "option": [
              "--device"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "emulator",
            "label": "Use an emulator",
            "type": "boolean",
            "option": [
              "--emulator"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "release",
            "label": "Release build",
            "type": "boolean",
            "option": [
              "--release"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clean",
            "label": "Rebuild native application",
            "type": "boolean",
            "option": [
              "--clean"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_hmr",
            "label": "Disable hot module replacement",
            "type": "boolean",
            "option": [
              "--no-hmr"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "justlaunch",
            "label": "Do not print app output",
            "type": "boolean",
            "option": [
              "--justlaunch"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "bundle",
            "label": "Bundle the application",
            "type": "boolean",
            "option": [
              "--bundle"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "run",
            "label": "Run",
            "fields": [
              "device",
              "emulator"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "device",
              "emulator",
              "release",
              "clean",
              "no_hmr",
              "justlaunch",
              "bundle"
            ]
          }
        ]
      }
    ]
  }
}
