id = "asar" name = "asar" description = "Electron archive format: a simple tar-like archive with indexing." homepage = "https://github.com/electron/asar" executables = ["asar"] [commands] format = 1 label = "asar archives" description = "Pack, list or extract asar archives." quality = "ai-draft" base = "fig:asar" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/asar.ts" license = "MIT" [[commands.subcommand]] path = ["pack"] label = "Create archive" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/asar.ts" license = "MIT" [[commands.subcommand.field]] id = "directory" label = "Directory to archive" type = "path" position = 0 path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "output" label = "Output archive" type = "path" position = 1 path = { kind = "file", role = "output", must_exist = false } effect = "overwrite" sources = ["fig"] [[commands.subcommand.task]] id = "pack" label = "Pack" fields = ["directory", "output"] required = ["directory", "output"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["directory", "output"] [[commands.subcommand]] path = ["list"] label = "List archive" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/asar.ts" license = "MIT" [[commands.subcommand.field]] id = "archive" label = "Archive" type = "path" position = 0 path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.task]] id = "list" label = "List" fields = ["archive"] required = ["archive"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["archive"] [[commands.subcommand]] path = ["extract"] label = "Extract archive" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/asar.ts" license = "MIT" [[commands.subcommand.field]] id = "archive" label = "Archive" type = "path" position = 0 path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "directory" label = "Extract to" type = "path" position = 1 path = { kind = "directory", role = "output", must_exist = false } sources = ["fig"] [[commands.subcommand.task]] id = "extract" label = "Extract" fields = ["archive", "directory"] required = ["archive", "directory"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["archive", "directory"]