{"id":26041788,"url":"https://github.com/pr0ngledev/commands","last_synced_at":"2026-05-31T02:31:44.094Z","repository":{"id":280875206,"uuid":"943465078","full_name":"Pr0ngleDev/commands","owner":"Pr0ngleDev","description":"A crystal shard for simple, skiddie friendly UNIX command execution","archived":false,"fork":false,"pushed_at":"2025-03-05T18:48:13.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T19:37:21.495Z","etag":null,"topics":["commands","crystal","crystal-lang"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/Pr0ngleDev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-05T18:45:15.000Z","updated_at":"2025-03-05T18:50:23.000Z","dependencies_parsed_at":"2025-03-05T19:37:26.912Z","dependency_job_id":"cef485e6-fc58-4524-9386-7b6410cc956c","html_url":"https://github.com/Pr0ngleDev/commands","commit_stats":null,"previous_names":["pr0ngledev/commands"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pr0ngleDev%2Fcommands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pr0ngleDev%2Fcommands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pr0ngleDev%2Fcommands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pr0ngleDev%2Fcommands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pr0ngleDev","download_url":"https://codeload.github.com/Pr0ngleDev/commands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242411229,"owners_count":20123645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","crystal","crystal-lang"],"created_at":"2025-03-07T14:49:44.192Z","updated_at":"2026-05-31T02:31:44.089Z","avatar_url":"https://github.com/Pr0ngleDev.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# commands\n\n  \n\ncommands is a Skiddie-friendly Crystal Shard to make it easier to execute commands.\n\n  \n\n## Installation\n\n  \n\n1. Add the dependency to your `shard.yml`:\n\n  \n\n```yaml\n\ndependencies: \n\n         commands:\n\n              github: Pr0ngleDev/commands\n\n```\n\n  \n\n2. Run `shards install`\n\n  \n\n## Usage\n\n  \n\n```crystal\nrequire \"commands\"\n```\n\n  \u003cbr\u003e\n  \n  \nexecCommand can be used to execute a bash command and receive its output \u003cbr\u003e\n\n```crystal\nCrystal.execCommand(\"Hello World\") # Returns Hello World\n```\n\u003cbr\u003e\n  \n\u003cbr\u003e\n\nexecProscess can be used to execute a bash command and recieve its error code \u003cbr\u003e\n``` crystal\nCrystal.execProcess(\"echo Hello World\") # Returns 0\n```\n\u003cbr\u003e\n\u003cbr\u003e\n \n\n## Examples\n\n\u003cbr\u003e\n\n   ``` crystal\n    foo = Crystal.executeCommand(\"echo foo\")\n    puts foo \n   ```\n   This would print foo to the stdout\n\n\u003cbr\u003e\n\n```crystal\n\tfoo = Crystal.executeCommand(\"echo haha\")\n\tputs foo.reverse\n```\nThis would print ahah to the stdout\n\n\n## Contributors\n\n  \n\n- [Prongle](https://github.com/Pr0ngleDev) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr0ngledev%2Fcommands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpr0ngledev%2Fcommands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr0ngledev%2Fcommands/lists"}