id = "zipcloak" name = "zipcloak" description = "Encrypt entries in a zip archive." executables = ["zipcloak"] [commands] format = 1 label = "Encrypt zip entries" description = "Encrypt the entries of a zip archive. Writes a new archive when an output file is given; decrypt, license and version flags are left out." quality = "ai-draft" base = "fig:zipcloak" parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = true, short_bundles = true } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/zipcloak.ts" license = "MIT" [[commands.field]] id = "zipfile" label = "Zip file" type = "path" position = 0 path = { kind = "file", role = "input" } sources = ["fig"] [[commands.field]] id = "output_file" label = "Write to new archive" description = "Leaves the original archive as is." type = "path" option = ["--output-file", "-O"] path = { kind = "file", role = "output" } sources = ["fig"] [[commands.field]] id = "temp_path" label = "Temp directory" type = "path" option = ["--temp-path", "-b"] path = { kind = "directory" } sources = ["fig"] [[commands.field]] id = "quiet" label = "Quiet" type = "boolean" option = ["--quiet", "-q"] sources = ["fig"] [[commands.task]] id = "encrypt" label = "Encrypt entries" fields = ["zipfile", "output_file", "quiet"] required = ["zipfile"] [[commands.group]] id = "basic" label = "Basic" fields = ["zipfile", "output_file", "quiet"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["temp_path"]