🍺 BREW Explorer

← all formulae

attempt-cli

brew install attempt-cli v1.1.1 Unlicense

CLI for retrying fallible commands

6
30-day installs · #10041
24
90-day · #9281
172
365-day · #7749
212
★ GitHub stars · updated 7mo ago

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "CLI for retrying fallible commands",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:37+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "attempt-cli",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-01-21T03:33:30Z",
  "github_readme_excerpt": "attempt - a CLI for retrying fallible commands\n----------------------------------------------\n\n`attempt` allows you to retry fallible commands with a delay.\n\n# How do I use it?\n\n`attempt [BACKOFF] [OPTIONS] [COMMAND]...`\n\n```bash\n# Rerun database migrations if the server was not ready\nattempt --retry-if-contains \"server not ready\" sqlx migrate\n\n# Use an exponential backoff\nattempt exponential --retry-if-contains \"server not ready\" sqlx migrate\n```\n\n# What can I do with it?\n\n- Wait for a service to start when you aren\u0027t [restricted to bash](https://github.com/vishnubob/wait-for-it)\n- Write robust scripts accessing resources which may become temporarily unavailable\n- Bodge flaky programs into working\n\n## Key features\n\n- **Simple.**\n    - The featureset is small but flexible enough to covers most usecases.\n    - The codebase can be audited in an afternoon.\n- **Robust.**\n    - It provides the tools you need to implement fault tolerance, like\n        timeouts, jitter, and exponential backoff.\n    - The test suite is extensive and contains both end-to-end and unit tests.\n- **Free forever.**\n    - The codebase is in the public domain.\n    - All future versions will be released under the same license.\n\n## Documentation\n\n- See the [usage instructions](https://maxbondabe.github.io/attempt/usage.html) to get a quick start\n- The [scripting guide](https://maxbondabe.github.io/attempt/appendix/scripting.html) has advice about using attempt in scripts\n- Read the [user manual](https://maxbondabe.github.io/attempt/intro.html) for full documentation\n- Run `attempt --help` for quick access to documentation\n    - Note that you need to specify a strategy to see it\u0027s parameters,\n        eg `attempt exponential --help`\n\n# Known issues\n\n- `attempt` assumes that the child command\u0027s output will be UTF-8 encoded.\n    If any output predicates are used on a program that outputs invalid\n    UTF-8, `attempt` will crash.\n- `attempt --help` will not reflect that the `fixed` strategy will be used if",
  "github_repo": "MaxBondABE/attempt",
  "github_stars": 212,
  "github_topics": [],
  "homepage": "https://github.com/MaxBondABE/attempt",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 6,
  "installs_365d": 172,
  "installs_90d": 24,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Unlicense",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "attempt-cli",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 10041,
  "rank_365d": 7749,
  "rank_90d": 9281,
  "raw_hash": "44758199d84b748b",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/a/attempt-cli.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.1.1",
  "versioned_formulae": [],
  "why_use_this": null
}