id = "watchman" name = "Watchman" homepage = "https://facebook.github.io/watchman/" description = "A file watching service." # The logo the project's own site serves (Simple Icons has none). icon = "https://facebook.github.io/watchman/img/logo.png" executables = ["watchman"] [dotfiles] # https://facebook.github.io/watchman/docs/config — a watched root may carry # a user-authored JSON configuration file named .watchmanconfig. A file in # $HOME is the only fixed home path; project-root copies are intentionally not # guessed because their locations are project-specific. paths = ["~/.watchmanconfig"] secret = [] [commands] format = 1 label = "Watchman" description = "Start watching a project or list files under a watched directory. Queries, triggers and subscriptions need JSON and are left out." quality = "ai-draft" base = "fig:watchman" 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/watchman.ts" license = "MIT" [[commands.subcommand]] path = ["watch-project"] label = "Watch a project" description = "Ask the server to watch the project containing a directory." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/watchman.ts" license = "MIT" [[commands.subcommand.field]] id = "path" label = "Directory" description = "Directory to watch; its project root is found automatically." type = "path" position = 0 path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.subcommand.task]] id = "watch" label = "Watch directory" fields = ["path"] required = ["path"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["path"] [[commands.subcommand]] path = ["find"] label = "Find files" description = "List files under a watched directory." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/watchman.ts" license = "MIT" [[commands.subcommand.field]] id = "path" label = "Directory and patterns" description = "Directory first, then optional file patterns." type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.task]] id = "find" label = "Find files" fields = ["path"] required = ["path"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["path"]