{"id":20672167,"url":"https://github.com/jethrodaniel/msh","last_synced_at":"2025-07-11T23:35:17.257Z","repository":{"id":118228453,"uuid":"228245782","full_name":"jethrodaniel/msh","owner":"jethrodaniel","description":"MRuby shell","archived":false,"fork":false,"pushed_at":"2025-03-10T03:58:58.000Z","size":3655,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-10T04:33:51.238Z","etag":null,"topics":["mruby","ruby","sh"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/jethrodaniel.png","metadata":{"files":{"readme":"readme.adoc","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-12-15T20:15:56.000Z","updated_at":"2025-03-05T06:34:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9f5db6f-75a4-44fe-a8e8-5ce2e88f77f2","html_url":"https://github.com/jethrodaniel/msh","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jethrodaniel/msh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jethrodaniel%2Fmsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jethrodaniel%2Fmsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jethrodaniel%2Fmsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jethrodaniel%2Fmsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jethrodaniel","download_url":"https://codeload.github.com/jethrodaniel/msh/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jethrodaniel%2Fmsh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264914719,"owners_count":23682882,"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":["mruby","ruby","sh"],"created_at":"2024-11-16T20:32:24.995Z","updated_at":"2025-07-11T23:35:16.974Z","avatar_url":"https://github.com/jethrodaniel.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"image:https://github.com/jethrodaniel/msh/workflows/ci/badge.svg[]\nimage:https://img.shields.io/github/license/jethrodaniel/msh.svg[]\nimage:https://img.shields.io/github/stars/jethrodaniel/msh?style=social[]\n\n**NOTE**: not finished, breaking changes until `v1.0.0`, stay tuned.\n\n== Name\n\nmsh - A ruby shell\n\n== Synopsis\n\n**msh** [-V,--version] [-h,--help] [-c command] [--] [program_file]...\n\n== Description\n\n**msh** is a bash/sh-like language implemented in Ruby.\n\n== Features\n\n**Interpolation**::\n  Use `#{}` to interpolate Ruby code anywhere.\n\n**Interpreter**::\n  Access the current Ruby interpreter using `#{self}`, or via an\n  interactive REPL, all on that same instance.\n\n**Methods / Functions**::\n  The `alias -\u003e function -\u003e exe` lookup of **sh** is now\n  `alias -\u003e method -\u003e exe`, which means functions are just\n  _methods_ on our `#{self}`.\n\n**Portability**::\n  The primary implementation targets MRuby, in order to be distributed\n  as a _single_ binary executable.\n\n=== Example\n\n```\n$ msh\nmsh v0.4.1 running on mruby v3.0 (`?` for help)\n$ echo π ≈ #{Math::PI}\nπ ≈ 3.141592653589793\n$ echo #{self}\n#\u003cMsh::Context:0x55aed4e3b240\u003e\n$ repl\nEnter some ruby (sorry, no multiline). ^D to exit.\n\u003e def prompt = 'λ '\n=\u003e :prompt\n\u003e def hi name; puts \"hello, there #{name}\"; end\n=\u003e :hi\n\u003e\nλ hi y'all\nhello, there y'all\nλ\n```\n\n== Documentation\n\nmsh intends to be self-documenting via manpages, similar to git(1).\n\n```\nmsh help [topic]\nman msh-\u003ctopic\u003e\n```\n\nFor info on where to go from here, or a list of the available topics,\nsee msh-help(1).\n\n== Development\n\nSource code, issue tracker, and releases can be found at\nhttps://github.com/jethrodaniel/msh.\n\nTo clone, build, install, and test\n\n```\ngit clone --recursive https://github.com/jethrodaniel/msh\ncd msh\nbundle\nbundle exec rake\n```\n\n== Alternatives\n\n- https://elv.sh/\n- https://github.com/ChrisPritchard/FSH\n- https://github.com/PowerShell/PowerShell\n- https://github.com/bminor/bash\n- https://github.com/dundalek/closh\n- https://github.com/fish-shell/fish-shell\n- https://github.com/nushell/nushell\n- https://github.com/zsh-users/zsh\n\n== Copyright\n\nThe MIT License (MIT)\n\nCopyright (c) 2021 Mark Delk\n\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjethrodaniel%2Fmsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjethrodaniel%2Fmsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjethrodaniel%2Fmsh/lists"}