{"id":27963229,"url":"https://github.com/windmillcode/go_cli_scripts","last_synced_at":"2026-02-18T14:04:52.931Z","repository":{"id":183326636,"uuid":"669948714","full_name":"WindMillCode/go_cli_scripts","owner":"WindMillCode","description":"utility library for  go_scripts","archived":false,"fork":false,"pushed_at":"2025-10-12T21:47:07.000Z","size":16682,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-14T13:20:57.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/WindMillCode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["windmillcode"],"patreon":"windmillcode","ko_fi":"windmillcode","open_collective":"windmill-code","community_bridge":"42056b04-305f-4e08-929c-66725181d6af","liberapay":"windmillcode","tidelift":"npm/windmillcode","polar":"windmillcode","thanks_dev":"windmillcode","custom":["https://www.gofundme.com/f/strengthen-our-business-to-take-on-bigger-initiati?utm_campaign=p_lico+share-sheet-first-launch\u0026utm_medium=copy_link\u0026utm_source=customer"]}},"created_at":"2023-07-24T00:20:16.000Z","updated_at":"2025-10-12T21:47:09.000Z","dependencies_parsed_at":"2023-10-20T17:27:27.119Z","dependency_job_id":"2c5eaf86-bd84-455d-a317-a02468f35abe","html_url":"https://github.com/WindMillCode/go_cli_scripts","commit_stats":null,"previous_names":["windmillcode/go_scripts"],"tags_count":90,"template":false,"template_full_name":null,"purl":"pkg:github/WindMillCode/go_cli_scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindMillCode%2Fgo_cli_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindMillCode%2Fgo_cli_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindMillCode%2Fgo_cli_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindMillCode%2Fgo_cli_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WindMillCode","download_url":"https://codeload.github.com/WindMillCode/go_cli_scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindMillCode%2Fgo_cli_scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29581552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T13:56:48.962Z","status":"ssl_error","status_checked_at":"2026-02-18T13:54:34.145Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2025-05-07T19:58:30.089Z","updated_at":"2026-02-18T14:04:52.906Z","avatar_url":"https://github.com/WindMillCode.png","language":"Go","funding_links":["https://github.com/sponsors/windmillcode","https://patreon.com/windmillcode","https://ko-fi.com/windmillcode","https://opencollective.com/windmill-code","https://funding.communitybridge.org/projects/42056b04-305f-4e08-929c-66725181d6af","https://liberapay.com/windmillcode","https://tidelift.com/funding/github/npm/windmillcode","https://polar.sh/windmillcode","https://thanks.dev/windmillcode","https://www.gofundme.com/f/strengthen-our-business-to-take-on-bigger-initiati?utm_campaign=p_lico+share-sheet-first-launch\u0026utm_medium=copy_link\u0026utm_source=customer"],"categories":[],"sub_categories":[],"readme":"# Overview\n\nThis package, `go_cli_scripts`, offers a collection of utility functions written in Go, designed to streamline various common operations such as array manipulation, asynchronous processing, directory navigation, file handling, and more. Here's a brief rundown of its capabilities:\n\n- **Array Utilities**: Functions to remove elements, check for existence, filter, and convert between types.\n- **Asynchronous Utilities**: A method to manage asynchronous tasks in batches.\n- **Directory Utilities**: Functions to navigate and manipulate filesystem directories.\n- **File Utilities**: A suite of functions for file copying, reading, writing, and more.\n- **Docker Utilities**: Determine if the current environment is within a Docker container.\n- **Git Utilities**: Facilitate operations like sparse cloning of repositories.\n- **GitHub Utilities**: Interact with GitHub to fetch latest release information and assets.\n- **JSON Utilities**: Assist in filtering and formatting JSON data.\n- **Map Utilities**: Provide methods for map manipulation and conversion.\n- **Menu Display Utilities**: Facilitate the creation of interactive menus in the terminal.\n- **Standard I/O Utilities**: Streamline the process of capturing input and executing commands.\n- **String Utilities**: Offer various string manipulation capabilities.\n- **TestNG Utilities**: Assist in configuring and executing TestNG tests.\n- **VSCode Settings Utilities**: Facilitate the retrieval and handling of VSCode settings.\n\nThis package is structured to support a wide range of applications, from simple file operations to more complex tasks like handling asynchronous processes or interacting with external APIs.\n\n\n# Installation\n\nTo integrate the `go_cli_scripts` package into your Go project, follow these steps:\n\n1. Ensure you have Go installed on your system. You can download and install Go from [the official Go website](https://golang.org/dl/).\n\n2. Navigate to your project directory where you want to include the `go_cli_scripts` package.\n\n3. Use the `go get` command to fetch the package from its repository. Since this is a local package, you would typically copy it into your project's directory or reference it locally. If it were hosted, you would use a command like:\n\n```sh\ngo get github.com/windmillcode/go_cli_scripts/v6/utils\n```\n\n\n4. Import the package in your Go files where you need to use its functionality:\n\n   ```go\n   import (\n       \"github.com/windmillcode/go_cli_scripts/v6/utils\"\n   )\n   ```\n\n\n5. Once the package is imported, you can use its functions by referencing them with the `utils` prefix, like `utils.ArrayContainsAny(...)`.\n\nBy following these steps, you can leverage the various utility functions provided by the `go_cli_scripts` package in your Go projects to enhance your applications' capabilities and streamline your development process.\n\n# Docs\n\n\n[array_utils.go](./docs/array_utils.md)\n[async_utils.go](./docs/async_utils.md)\n[cd_utils.go](./docs/cd_utils.md)\n[common_utils.go](./docs/common_utils.md)\n[copy_utils.go](./docs/copy_utils.md)\n[docker-utils](./docs/docker.md)\n[file_utils.go](./docs/file_utils.md)\n[utils.go](./docs/utils.md)\n[github_utils.go](./docs/github_utils.md)\n[json_utils.go](./docs/json_utils.md)\n[map_utils.go](./docs/map_utils.md)\n[show_menu.go](./docs/show_menu.md)\n[stdio_utils.go](./docs/stdio_utils.md)\n[string_utils.go](./docs/string_utils.md)\n[testng_utils.go](./docs/testng_utils.md)\n[vscode_settings_utils.go](./docs/vscode_settings_utils.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindmillcode%2Fgo_cli_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindmillcode%2Fgo_cli_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindmillcode%2Fgo_cli_scripts/lists"}