{"id":16248438,"url":"https://github.com/smashwilson/hubot-pipe","last_synced_at":"2025-03-19T19:31:56.650Z","repository":{"id":1756444,"uuid":"43820556","full_name":"smashwilson/hubot-pipe","owner":"smashwilson","description":"Put some Unix in your Hubot","archived":false,"fork":false,"pushed_at":"2022-12-12T20:00:38.000Z","size":216,"stargazers_count":7,"open_issues_count":7,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-17T10:12:22.925Z","etag":null,"topics":["hubot","javascript","shell"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/smashwilson.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":"2015-10-07T14:16:59.000Z","updated_at":"2024-01-02T14:49:09.000Z","dependencies_parsed_at":"2023-01-11T20:10:24.377Z","dependency_job_id":null,"html_url":"https://github.com/smashwilson/hubot-pipe","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashwilson%2Fhubot-pipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashwilson%2Fhubot-pipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashwilson%2Fhubot-pipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashwilson%2Fhubot-pipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smashwilson","download_url":"https://codeload.github.com/smashwilson/hubot-pipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244493116,"owners_count":20461611,"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":["hubot","javascript","shell"],"created_at":"2024-10-10T14:41:41.967Z","updated_at":"2025-03-19T19:31:56.328Z","avatar_url":"https://github.com/smashwilson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hubot Pipe\n\nIntroduce command piping and subshells to your Hubot commands.\n\n```\n# Expand the output from one command into the invocation of another.\nhubot\u003e hubot decide $(hubot echo first) $(hubot echo second)\nDefinitely \"first\".\n\n# Append the output from one command to the input of another.\n# Equivalent to \"hubot echo before $(hubot echo after)\".\nhubot\u003e hubot echo after | hubot echo before\nbefore after\n```\n\nSubcommands can be nested at arbitrary depths. Pipe sequences can be arbitrarily long, and used within subcommands. (Okay, realistically you're limited by the stack depth.)\n\n```\npushbot\u003e pushbot echo outer-start $(pushbot echo middle-start $(pushbot echo inner) middle-end) outer-end\nouter-start middle-start inner middle-end outer-end\n\npushbot\u003e pushbot echo 0 $(pushbot echo 2 | pushbot echo 1 )3\npushbot\u003e 0 1 2 3\n```\n\n## Installing\n\n1. Add `hubot-pipe` to your `package.json` with `npm install --save hubot-pipe`:\n\n  ```json\n    \"dependencies\": {\n      \"hubot-pipe\": \"~0.0.4\"\n    },\n  ```\n2. Require the module in `external-scripts.json`:\n\n  ```json\n  [\"hubot-pipe\"]\n  ```\n3. Run `npm update` and restart your Hubot.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmashwilson%2Fhubot-pipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmashwilson%2Fhubot-pipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmashwilson%2Fhubot-pipe/lists"}