{
  "id": "fricas",
  "name": "FriCAS",
  "homepage": "https://fricas.github.io/",
  "description": "Advanced computer algebra system",
  "executables": [
    "fricas",
    "FRICASsys"
  ],
  "dotfiles": {
    "paths": [
      "~/.fricas.input"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Start FriCAS",
    "description": "Start FriCAS with the command-line interface, optionally evaluating code or selecting a workspace.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "man",
        "kind": "manual",
        "url": "https://manpages.debian.org/testing/fricas/fricas.1.en.html",
        "revision": "debian testing 2026-10",
        "evidence": "fricas [options]\n[-nosman] use plain command line interface (disables other options). This option is mandatory when FriCAS takes input from a pipe\n[-nox] don't use X Windows\n[-noht] whether to use HyperDoc\n[-nogr] whether to use Graphics\n[-ws wsname] use named workspace\n[-list] list workspaces only\n[-eval code] evaluate specified code at start\n"
      }
    ],
    "field": [
      {
        "id": "nosman",
        "label": "Plain command line",
        "type": "boolean",
        "option": [
          "-nosman"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "nox",
        "label": "No X Windows",
        "type": "boolean",
        "option": [
          "-nox"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "noht",
        "label": "No HyperDoc",
        "type": "boolean",
        "option": [
          "-noht"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "nogr",
        "label": "No graphics",
        "type": "boolean",
        "option": [
          "-nogr"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "workspace",
        "label": "Workspace name",
        "type": "string",
        "option": [
          "-ws"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "eval",
        "label": "Evaluate code at start",
        "type": "string",
        "option": [
          "-eval"
        ],
        "effect": "exec",
        "sources": [
          "man"
        ]
      }
    ],
    "task": [
      {
        "id": "plain",
        "label": "Plain terminal session",
        "set": {
          "nosman": [
            true
          ]
        },
        "lock": [
          "nosman"
        ],
        "fields": [
          "nosman",
          "workspace",
          "eval"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "nosman",
          "nox",
          "noht",
          "nogr",
          "workspace",
          "eval"
        ]
      }
    ]
  }
}
