{"id":15394238,"url":"https://github.com/xyproto/workingdir","last_synced_at":"2026-04-18T04:02:15.157Z","repository":{"id":11074419,"uuid":"13419157","full_name":"xyproto/workingdir","owner":"xyproto","description":":rowboat: Package for running quick commands and simple interaction with directories","archived":false,"fork":false,"pushed_at":"2018-06-28T12:39:00.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-19T01:32:53.704Z","etag":null,"topics":["commands","execute","shell"],"latest_commit_sha":null,"homepage":"","language":"Go","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/xyproto.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":"2013-10-08T16:34:40.000Z","updated_at":"2018-06-28T12:40:52.000Z","dependencies_parsed_at":"2022-07-21T16:02:27.016Z","dependency_job_id":null,"html_url":"https://github.com/xyproto/workingdir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xyproto/workingdir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fworkingdir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fworkingdir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fworkingdir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fworkingdir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xyproto","download_url":"https://codeload.github.com/xyproto/workingdir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xyproto%2Fworkingdir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31955919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["commands","execute","shell"],"created_at":"2024-10-01T15:22:39.424Z","updated_at":"2026-04-18T04:02:15.138Z","avatar_url":"https://github.com/xyproto.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# workingdir\n\nPackage for running quick commands and simple interaction with directories.\n\n### Quick example\n\n```go\npackage main\n\nimport (\n\twd \"github.com/xyproto/workingdir\"\n)\n\nfunc main() {\n\tprint(wd.Run(\"echo hello\"))\n}\n```\n\n### Another example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\twd \"github.com/xyproto/workingdir\"\n)\n\nfunc main() {\n\tdir, err := wd.New(\"/tmp\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"There are %d entries in %s\\n\", len(dir.List()), dir.Path())\n\tfmt.Printf(\"Current date: %s\\n\", dir.TrimRun(\"date --iso-8601\"))\n}\n```\n\n### General info\n\n * License: MIT\n * Author: Alexander F. Rødseth \u0026lt;xyproto@archlinux.org\u0026gt;\n * Version: 0.1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Fworkingdir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxyproto%2Fworkingdir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxyproto%2Fworkingdir/lists"}