{"id":13433389,"url":"https://github.com/mchav/with","last_synced_at":"2025-05-16T14:08:19.557Z","repository":{"id":93352788,"uuid":"65833567","full_name":"mchav/with","owner":"mchav","description":"Command prefixing for continuous workflow using a single tool.","archived":false,"fork":false,"pushed_at":"2020-05-10T10:50:38.000Z","size":34,"stargazers_count":1233,"open_issues_count":14,"forks_count":38,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-12T12:51:48.386Z","etag":null,"topics":["shell","shell-scripts","utility"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mchav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-08-16T15:55:00.000Z","updated_at":"2025-03-29T01:26:22.000Z","dependencies_parsed_at":"2023-03-25T19:12:23.063Z","dependency_job_id":null,"html_url":"https://github.com/mchav/with","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchav%2Fwith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchav%2Fwith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchav%2Fwith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mchav%2Fwith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mchav","download_url":"https://codeload.github.com/mchav/with/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254544146,"owners_count":22088807,"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":["shell","shell-scripts","utility"],"created_at":"2024-07-31T02:01:25.088Z","updated_at":"2025-05-16T14:08:17.010Z","avatar_url":"https://github.com/mchav.png","language":"Shell","funding_links":[],"categories":["Shell","Building","CLI Utilities"],"sub_categories":["Workflows"],"readme":"# with\n\n[![Join the chat at https://gitter.im/with-tool/with](https://badges.gitter.im/with-tool/with.svg)](https://gitter.im/with-tool/with?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\nProgram prefixing for continuous workflow using a single tool.\n\n### Usage\n\n`with \u003cprogram\u003e`\n\n\nStarts an interactive shell with where every command is prefixed using `\u003cprogram\u003e`.\n\nFor example:\n```sh\n$ with git\ngit\u003e add .\ngit\u003e commit -a -m \"Commited\"\ngit\u003e push\n```\n\n\nCan also be used for compound commands.\n```sh\n$ with java Primes\njava Primes\u003e 1\n2\njava Primes\u003e 4\n7\n```\n\nAnd to repeat commands:\n```sh\n$ with gcc -o output input.c\ngcc -o -output input.c\u003e\n\u003center\u003e\nCompiling...\ngcc -o -output input.c\u003e\n```\n\n\nTo execute a shell command proper prefix line with `:`.\n\n\n`git\u003e :ls`\n\nYou can also drop, add, and replace different commands.\n\n```sh\ngit\u003e +add\ngit add\u003e \u003csome file\u003e\ngit add\u003e !commit\ngit commit\u003e \u003carguments and message\u003e\ngit commit\u003e -\ngit\u003e\n```\n\nTo exit use either `:q` or `:exit`.\n\n### Installation\n\nWith [apt-get](https://wiki.debian.org/apt-get):\n\n```sh\nsudo add-apt-repository ppa:mchav/with \u0026\u0026 sudo apt-get update \u0026\u0026 sudo apt-get install with\n```\n\nWith [bpkg](https://github.com/bpkg/bpkg):\n\n```sh\nbpkg install mchav/with -g\n```\n\nWith FreeBSD [pkg](https://github.com/freebsd/pkg):\n\n```sh\npkg install with\n```\n\nWith FreeBSD [ports](https://www.freshports.org/misc/with/)\n\n```sh\ncd /usr/ports/misc/with \u0026\u0026 make install clean\n```\n\nWith [rawgit](https://rawgit.com):\n\n```sh\ncurl -sLo- https://cdn.rawgit.com/mchav/with/master/install | bash\n```\n\nor:\n\n```\ncurl -s https://raw.githubusercontent.com/mchav/with/master/install | bash\n```\n\nCurrently supports command history and limited completions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchav%2Fwith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmchav%2Fwith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmchav%2Fwith/lists"}