{
  "id": "sc-im",
  "name": "sc-im",
  "homepage": "https://github.com/andmarti1424/sc-im",
  "description": "An ncurses spreadsheet calculator application.",
  "executables": [
    "sc-im"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "~/.config/sc-im/scimrc"
    ],
    "exclude": [],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Open a spreadsheet",
    "description": "Open a spreadsheet file in sc-im with a few startup variables. Other configuration variables are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "man",
        "kind": "manual",
        "url": "https://manpages.debian.org/unstable/sc-im/sc-im.1.en.html",
        "revision": "debian unstable 2026-10",
        "evidence": "FILE  The input file from where to read the spreadsheet.\n--sheet=SHEET  Open SHEET when loading xlsx file. Can be sheet name or number. Default is '1'.\n--nocurses  Run interactive but without ncurses interface.\n--output=FILE  Save the results in FILE.\n--quit_afterload  Quit after loading all the files. Useful when sending scripts to SC-IM.\n--quiet  Set variable 'quiet'. Avoid printing info/error/debug messages.\n--autocalc  Set variable 'autocalc'. Recalculations occur automatically.\n--numeric  Set variable 'numeric'. A digit starts a numeric value instead of a command multiplier.\n--xlsx_readformulas  Set variable 'xlsx_readformulas'. SC-IM will try to import formulas, rather than the final values of a cell.\n"
      }
    ],
    "field": [
      {
        "id": "file",
        "label": "Spreadsheet file",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "position": 0,
        "sources": [
          "man"
        ]
      },
      {
        "id": "sheet",
        "label": "Sheet (xlsx)",
        "description": "Sheet name or number to open when loading an xlsx file.",
        "type": "string",
        "option": [
          "--sheet"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "xlsx_readformulas",
        "label": "Import xlsx formulas",
        "type": "boolean",
        "option": [
          "--xlsx_readformulas"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "autocalc",
        "label": "Automatic recalculation",
        "type": "boolean",
        "option": [
          "--autocalc"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "nocurses",
        "label": "No ncurses interface",
        "type": "boolean",
        "option": [
          "--nocurses"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "output",
        "label": "Save results to",
        "type": "path",
        "option": [
          "--output"
        ],
        "path": {
          "kind": "file",
          "role": "output",
          "must_exist": false
        },
        "effect": "overwrite",
        "sources": [
          "man"
        ]
      },
      {
        "id": "quit_afterload",
        "label": "Quit after loading",
        "type": "boolean",
        "option": [
          "--quit_afterload"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet",
        "type": "boolean",
        "option": [
          "--quiet"
        ],
        "sources": [
          "man"
        ]
      }
    ],
    "task": [
      {
        "id": "open",
        "label": "Open a file",
        "fields": [
          "file",
          "sheet",
          "autocalc",
          "xlsx_readformulas"
        ],
        "required": [
          "file"
        ]
      },
      {
        "id": "convert",
        "label": "Load and save non-interactively",
        "set": {
          "nocurses": [
            true
          ],
          "quit_afterload": [
            true
          ]
        },
        "lock": [
          "nocurses",
          "quit_afterload"
        ],
        "fields": [
          "file",
          "output",
          "nocurses",
          "quit_afterload",
          "quiet"
        ],
        "required": [
          "file",
          "output"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "file",
          "sheet",
          "autocalc",
          "xlsx_readformulas"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "nocurses",
          "output",
          "quit_afterload",
          "quiet"
        ]
      }
    ]
  }
}
