{"id":22769712,"url":"https://github.com/bfontaine/task.sh","last_synced_at":"2026-04-29T17:39:10.170Z","repository":{"id":17836302,"uuid":"20744986","full_name":"bfontaine/task.sh","owner":"bfontaine","description":"Easy step-by-step Bash scripts output","archived":false,"fork":false,"pushed_at":"2019-01-09T16:01:25.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-06T19:41:56.933Z","etag":null,"topics":["shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bfontaine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-11T21:30:06.000Z","updated_at":"2020-09-12T12:31:22.000Z","dependencies_parsed_at":"2022-07-22T17:18:07.423Z","dependency_job_id":null,"html_url":"https://github.com/bfontaine/task.sh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bfontaine/task.sh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Ftask.sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Ftask.sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Ftask.sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Ftask.sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfontaine","download_url":"https://codeload.github.com/bfontaine/task.sh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Ftask.sh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32437109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T17:34:55.123Z","status":"ssl_error","status_checked_at":"2026-04-29T17:34:45.749Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["shell"],"created_at":"2024-12-11T15:14:13.374Z","updated_at":"2026-04-29T17:39:10.144Z","avatar_url":"https://github.com/bfontaine.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# task.sh\n\n``task.sh`` is a little tool made for easy step-by-step Bash scripts. It\nprovides one function, `task`, which take a command and print it with a\ncheckbox. When the task complete, it either checks it or write an `F` to mark\nit as failed and log its stderr output.\n\n## Install\n\nDownload `task.sh` somewhere:\n\n    curl -sL 'http://git.io/EgU4Vg' \u003e task.sh\n\n\n## Usage\n\nSource `task.sh` in Bash:\n\n    . task.sh\n\nThen prefix each command with `task`. Be careful to use quotes when you’re\nusing special Bash characters, like redirections and pipes:\n\n    # wrong:\n    task echo bar \u003e foo\n\n    # right:\n    task 'echo bar \u003e foo'\n\nRight now `task` doesn’t support command output, so you’ll need to redirect any\noutput (stdout _and_ stderr) somewhere to not mess with `task`’s own output.\nThis should be improved in the future.\n\n\n### Example\n\n    . path/to/task.sh\n    task touch foo\n    task mkdir bar\n    task mv foo bar/\n    task sleep 1\n    task touch bar # will fail\n    task true\n\nResult:\n\n    [x] touch foo\n    [F] mkdir bar\n    [x] mv foo bar/\n    [x] sleep 1\n    [x] touch bar\n    [x] true\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfontaine%2Ftask.sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfontaine%2Ftask.sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfontaine%2Ftask.sh/lists"}