id = "dooit" name = "Dooit" homepage = "https://dooit-org.github.io/dooit/" description = "A TUI todo manager that you didn't ask for, but needed" executables = ["dooit"] [dotfiles] # https://github.com/dooit-org/dooit/blob/master/dooit/__main__.py — the # config-loc command prints platformdirs.user_config_dir("dooit")/config.py. paths = [ "~/.config/dooit/config.py", "~/Library/Application Support/dooit/config.py", "%APPDATA%/dooit/config.py", ] secret = [] [commands] format = 1 label = "Dooit" description = "Start the Dooit todo manager with a custom config or database, or show where its config lives." quality = "ai-draft" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "help" kind = "help" url = "https://dooit-org.github.io/dooit/" revision = "dooit --help" evidence = """ Usage: dooit [OPTIONS] [COMMAND] [ARGS]... -c, --config TEXT Path to config file --db TEXT Path to database file """ [[commands.field]] id = "config" label = "Config file" type = "path" option = ["--config", "-c"] path = { kind = "file", role = "input", must_exist = true } sources = ["help"] [[commands.field]] id = "db" label = "Database file" type = "path" option = ["--db"] path = { kind = "file", role = "output", must_exist = false } sources = ["help"] [[commands.task]] id = "start" label = "Start with custom files" fields = ["config", "db"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["config", "db"]