{"id":24755251,"url":"https://github.com/katzer/orbit","last_synced_at":"2025-03-23T06:13:59.759Z","repository":{"id":138109166,"uuid":"200612593","full_name":"katzer/orbit","owner":"katzer","description":"Command-line interface for Orbit","archived":false,"fork":false,"pushed_at":"2024-08-28T18:35:30.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-28T12:41:23.941Z","etag":null,"topics":["cli","mruby-cli","orbit"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katzer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-08-05T08:15:43.000Z","updated_at":"2024-08-28T18:35:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4ed97cd-1059-4787-a198-12e6ff5c1cee","html_url":"https://github.com/katzer/orbit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Forbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Forbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Forbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Forbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katzer","download_url":"https://codeload.github.com/katzer/orbit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061378,"owners_count":20554563,"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":["cli","mruby-cli","orbit"],"created_at":"2025-01-28T12:37:57.081Z","updated_at":"2025-03-23T06:13:59.739Z","avatar_url":"https://github.com/katzer.png","language":"Ruby","readme":"# orbit - The Command-Line Interface for _Orbit_ \u003cbr\u003e ![GitHub release (latest by date)](https://img.shields.io/github/v/release/katzer/orbit) [![Build Status](https://travis-ci.com/katzer/orbit.svg?branch=master)](https://travis-ci.com/katzer/orbit) [![Build status](https://ci.appveyor.com/api/projects/status/y35hwhpf4w51nc9e/branch/master?svg=true)](https://ci.appveyor.com/project/katzer/orbit/branch/master) [![Maintainability](https://api.codeclimate.com/v1/badges/69da9029f3782acc97a4/maintainability)](https://codeclimate.com/github/katzer/orbit/maintainability)\n\n    $ orbit -h\n\n    Usage: orbit [category] [options...] matchers...\n    Categories:\n    find                      Query infos\n    exec \"COMMAND\"            Run command\n    exec job \"JOB\"            Run job\n    exec script \"PATH\"        Run script\n    upload \"SOURCE\" \"TARGET\"  Upload file\n    download \"SOURCE\"         Download file\n    web start                 Start web app\n    web stop                  Stop web app\n    docker build              Build container\n    docker start              Start container\n    docker stop               Stop container\n    export \"PATH\"             Convert KDB file\n    env                       Show env vars\n    help                      Print this text\n    version                   Show version number\n\n## Installation\n\nDownload the latest version from the [release page][releases] and add the executable to your `PATH`.\n\n## Usage\n\nRun a sql script on a database:\n\n    $ orbit exec script \"path/to/script.sql\" type=db@tags:ora11\n\nExecute a command on a server:\n\n    $ orbit exec \"hostname\" -p type=server\n\nDownload a file from a server:\n\n    $ orbit download \"remote/file/path\" -l \"local/file/path\" app-package-1 app-package-2\n\nStart web app from inside a docker container:\n\n    $ orbit docker start\n\n__Note:__ `$ORBIT_HOME/docker_compose.yml` takes precedence over `$ORBIT_HOME/Dockerfile.yml`.\n\n## Development\n\nClone the repo:\n    \n    $ git clone https://github.com/katzer/orbit.git \u0026\u0026 cd orbit/\n\nInstall the dependencies:\n\n    $ bundle\n\nAnd then execute:\n\n    $ rake compile\n\nTo compile the sources locally for the host machine only:\n\n    $ MRUBY_CLI_LOCAL=1 rake compile\n\nYou'll be able to find the binaries in the following directories:\n\n- Linux (AMD64, Musl): `build/x86_64-alpine-linux-musl/bin/orbit`\n- Linux (AMD64, GNU): `build/x86_64-pc-linux-gnu/bin/orbit`\n- Linux (AMD64, for old distros): `build/x86_64-pc-linux-gnu-glibc-2.9/bin/orbit`\n- OS X (AMD64): `build/x86_64-apple-darwin19/bin/orbit`\n- OS X (ARM64): `build/arm64-apple-darwin19/bin/orbit`\n- Windows (AMD64): `build/x86_64-w64-mingw32/bin/orbit`\n- Host: `build/host/bin/orbit`\n\nFor the complete list of build tasks:\n\n    $ rake -T\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/katzer/orbit.\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nThe code is available as open source under the terms of the [Apache 2.0 License][license].\n\nMade with :heart: in Leipzig\n\n© 2016 [appPlant GmbH][appplant]\n\n[releases]: https://github.com/katzer/orbit/releases\n[license]: http://opensource.org/licenses/Apache-2.0\n[appplant]: www.appplant.de\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Forbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatzer%2Forbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Forbit/lists"}