id = "bc" name = "bc" description = "An arbitrary precision calculator language." executables = ["bc"] [commands] format = 1 label = "Run bc" description = "Evaluate bc scripts or start interactive mode." quality = "ai-draft" base = "fig:bc" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/bc.ts" license = "MIT" [[commands.field]] id = "files" label = "Script files" type = "path" position = 0 multiple = true path = { kind = "file", role = "input" } sources = ["fig"] [[commands.field]] id = "mathlib" label = "Load standard math library" type = "boolean" option = ["-l", "--mathlib"] sources = ["fig"] [[commands.field]] id = "quiet" label = "Skip welcome banner" type = "boolean" option = ["-q", "--quiet"] sources = ["fig"] [[commands.field]] id = "interactive" label = "Force interactive mode" type = "boolean" option = ["-i", "--interactive"] sources = ["fig"] [[commands.field]] id = "warn" label = "Warn about POSIX extensions" type = "boolean" option = ["-w", "--warn"] sources = ["fig"] [[commands.field]] id = "standard" label = "Strict POSIX language" type = "boolean" option = ["-s", "--standard"] sources = ["fig"] [[commands.task]] id = "calc" label = "Calculator with math library" fields = ["files", "mathlib", "quiet"] set = { mathlib = [true], quiet = [true] } [[commands.group]] id = "basic" label = "Basic" fields = ["files", "mathlib", "quiet", "interactive", "warn"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["standard"]