id = "rake" name = "Rake" homepage = "https://ruby.github.io/rake" description = "A Make-like program implemented in Ruby, with tasks and dependencies specified in standard Ruby syntax." executables = ["rake"] [dotfiles] # `rake --help`: "-g, --system Using system wide (global) rakefiles (usually # '~/.rake/*.rake')". lib/rake/application.rb, `standard_system_dir`, is where # that path comes from: File.join(Dir.home, ".rake"), or File.join(Dir.home, # "Rake") on Windows. The RAKE_SYSTEM environment variable overrides both. # These are rakefiles the user writes for themselves; a project's own Rakefile # is not user-level. paths = [ "~/.rake/", "~/Rake/", ] # Rake has no credential file. secret = [] # The rakefiles are loaded once per invocation. side_effect = false # No machine_lines: these are Ruby task definitions the user wrote to have # everywhere, and picking machine-local lines out of arbitrary Ruby would be # guesswork. [commands] format = 1 label = "Run Rake tasks" description = "Run tasks from a Rakefile or list them. Library paths, tracing and requires are partly left out." quality = "ai-draft" base = "fig:rake" 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/rake.ts" license = "MIT" [[commands.field]] id = "targets" label = "Tasks" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.field]] id = "rakefile" label = "Rakefile" type = "path" option = ["--rakefile", "-f"] path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.field]] id = "dry_run" label = "Dry run" type = "boolean" option = ["--dry-run", "-n"] sources = ["fig"] [[commands.field]] id = "tasks" label = "List tasks" type = "boolean" option = ["--tasks", "-T"] sources = ["fig"] [[commands.field]] id = "prereqs" label = "Show prerequisites" type = "boolean" option = ["--prereqs", "-P"] sources = ["fig"] [[commands.field]] id = "quiet" label = "Quiet" type = "boolean" option = ["--quiet", "-q"] sources = ["fig"] [[commands.field]] id = "silent" label = "Silent" type = "boolean" option = ["--silent", "-s"] sources = ["fig"] [[commands.field]] id = "require" label = "Require module" type = "string" option = ["--require", "-r"] sources = ["fig"] [[commands.task]] id = "run" label = "Run tasks" fields = ["targets", "rakefile", "dry_run"] required = [] [[commands.task]] id = "list" label = "List tasks" fields = ["tasks", "rakefile"] required = ["tasks"] set = { tasks = [true] } [[commands.group]] id = "basic" label = "Basic" fields = ["targets", "rakefile", "dry_run", "tasks"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["prereqs", "quiet", "silent", "require"]