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] # The upstream README says to place the scimrc configuration file here. # https://github.com/andmarti1424/sc-im#configuration 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 } [[commands.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. --sheet=SHEET Open SHEET when loading xlsx file. Can be sheet name or number. Default is '1'. --nocurses Run interactive but without ncurses interface. --output=FILE Save the results in FILE. --quit_afterload Quit after loading all the files. Useful when sending scripts to SC-IM. --quiet Set variable 'quiet'. Avoid printing info/error/debug messages. --autocalc Set variable 'autocalc'. Recalculations occur automatically. --numeric Set variable 'numeric'. A digit starts a numeric value instead of a command multiplier. --xlsx_readformulas Set variable 'xlsx_readformulas'. SC-IM will try to import formulas, rather than the final values of a cell. """ [[commands.field]] id = "file" label = "Spreadsheet file" type = "path" path = { kind = "file", role = "input" } position = 0 sources = ["man"] [[commands.field]] id = "sheet" label = "Sheet (xlsx)" description = "Sheet name or number to open when loading an xlsx file." type = "string" option = ["--sheet"] sources = ["man"] [[commands.field]] id = "xlsx_readformulas" label = "Import xlsx formulas" type = "boolean" option = ["--xlsx_readformulas"] sources = ["man"] [[commands.field]] id = "autocalc" label = "Automatic recalculation" type = "boolean" option = ["--autocalc"] sources = ["man"] [[commands.field]] id = "nocurses" label = "No ncurses interface" type = "boolean" option = ["--nocurses"] sources = ["man"] [[commands.field]] id = "output" label = "Save results to" type = "path" option = ["--output"] path = { kind = "file", role = "output", must_exist = false } effect = "overwrite" sources = ["man"] [[commands.field]] id = "quit_afterload" label = "Quit after loading" type = "boolean" option = ["--quit_afterload"] sources = ["man"] [[commands.field]] id = "quiet" label = "Quiet" type = "boolean" option = ["--quiet"] sources = ["man"] [[commands.task]] id = "open" label = "Open a file" fields = ["file", "sheet", "autocalc", "xlsx_readformulas"] required = ["file"] [[commands.task]] 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"] [[commands.group]] id = "basic" label = "Basic" fields = ["file", "sheet", "autocalc", "xlsx_readformulas"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["nocurses", "output", "quit_afterload", "quiet"]