{"id":16701436,"url":"https://github.com/ferd/rebar3_shellrpc","last_synced_at":"2025-04-10T04:11:15.113Z","repository":{"id":57541864,"uuid":"55272262","full_name":"ferd/rebar3_shellrpc","owner":"ferd","description":"A plugin to send commands to a running rebar3 shell","archived":false,"fork":false,"pushed_at":"2016-04-04T19:03:21.000Z","size":5,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T05:27:02.806Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","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/ferd.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":"2016-04-02T01:37:09.000Z","updated_at":"2021-03-21T17:32:18.000Z","dependencies_parsed_at":"2022-09-08T23:32:37.993Z","dependency_job_id":null,"html_url":"https://github.com/ferd/rebar3_shellrpc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferd%2Frebar3_shellrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferd%2Frebar3_shellrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferd%2Frebar3_shellrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferd%2Frebar3_shellrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferd","download_url":"https://codeload.github.com/ferd/rebar3_shellrpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878007,"owners_count":21011158,"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":[],"created_at":"2024-10-12T18:44:03.517Z","updated_at":"2025-04-10T04:11:15.084Z","avatar_url":"https://github.com/ferd.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"rebar3_shellrpc\n=====\n\nA rebar plugin\n\nBuild\n-----\n\n    $ rebar3 compile\n\nUse\n---\n\nAdd the plugin to your rebar config, possibly the global one in\n`~/.config/rebar3/rebar.config` :\n\n```erlang\n{plugins, [rebar3_shellrpc]}.\n```\n\nUse the `dist_node` option of rebar 3.1.x or a nightly build in any project\nfor which you want the feature to work:\n\n```erlang\n{dist_node, [{sname, myproject}]}.\n```\n\nBoot a shell in a tab or terminal window:\n\n```\n$ rebar3 shell\n...\n```\n\nThen just call your plugin directly in the project\n\n```\n$ rebar3 shellrpc \u003ccmd\u003e\n```\n\nAnd \u003ccmd\u003e will be sent to the shell that is currently running in the local\nproject. For example:\n\n```\n$ rebar3 shellrpc compile\n```\n\nWill recompile and reload code.\n\nVim Bindings\n------------\n\nThe following bindinds map `F5` to save + compile, `F6` to save + common test, and\n`F7` to save + dialyzer:\n\n```vim\nautocmd FileType erlang map \u003cF5\u003e \u003cesc\u003e:w\\|:! rebar3 shellrpc compile\u003ccr\u003e\nautocmd FileType erlang map \u003cF6\u003e \u003cesc\u003e:w\\|:! rebar3 shellrpc ct\u003ccr\u003e\nautocmd FileType erlang map \u003cF7\u003e \u003cesc\u003e:w\\|:! rebar3 shellrpc dialyzer\u003ccr\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferd%2Frebar3_shellrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferd%2Frebar3_shellrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferd%2Frebar3_shellrpc/lists"}