id = "pathchk" name = "pathchk" description = "Check pathnames for POSIX portability." executables = ["pathchk"] [commands] format = 1 label = "Check pathnames" description = "Check whether pathnames are valid and portable. Only the -p and -P checks are offered." quality = "ai-draft" base = "fig:pathchk" 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/pathchk.ts" license = "MIT" [[commands.field]] id = "paths" label = "Pathnames" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.field]] id = "portable" label = "Portable character set and length checks" type = "boolean" option = ["-p"] sources = ["fig"] [[commands.field]] id = "strict" label = "Also reject empty names and leading hyphens" type = "boolean" option = ["-P"] sources = ["fig"] [[commands.task]] id = "check" label = "Check portability" fields = ["portable", "paths"] required = ["paths"] set = { portable = [true] } [[commands.group]] id = "basic" label = "Basic" fields = ["paths", "portable", "strict"]