https://github.com/runnable/cli
CLI for Runnable
https://github.com/runnable/cli
Last synced: 12 months ago
JSON representation
CLI for Runnable
- Host: GitHub
- URL: https://github.com/runnable/cli
- Owner: Runnable
- Created: 2016-02-20T01:26:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T21:45:34.000Z (about 9 years ago)
- Last Synced: 2025-06-15T09:38:50.859Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://runnable.io
- Size: 150 KB
- Stars: 8
- Watchers: 10
- Forks: 1
- Open Issues: 88
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Runnable CLI
[](https://travis-ci.org/Runnable/cli)
[](https://coveralls.io/github/Runnable/cli?branch=master)
[](http://standardjs.com/)
[](https://www.npmjs.com/package/@runnable/cli)
A CLI for Runnable.
## Requirements
To use the CLI, you need:
* nodejs `v4.2.x` or above
* npm `v2.7` or above
## Installation
To install the CLI, run `npm install -g @runnable/cli`.
## Commands
### `runnable login`
Use this command to authenticate your CLI session in your terminal. You will also be prompted to choose a Github organization. You can change the Github organization at any time using `runnable org`.
### `runnable org`
Use this command to change the active Github organization in your session.
### `runnable ssh [name]`
Use this command to spawn a shell session into the container. You can specify the name of the container you are trying to reach in the following format: `/`.
If you don't provide a name, the cli will automatically map the command you are trying to run to the repo/branch your current working directory is on.
### `runnable logs [name] [--build|--cmd]`
Use this command to view the logs of a container. You can specify the name of the container you are trying to reach in the following format: `/`.
If you don't provide a name, the cli will automatically map the command you are trying to run to the repo/branch your local directory is on.
You can choose to view the build logs by adding the `-b` argument to the command. Conversely, you can view the CMD logs by adding the `-c` argument to the command. If you don't specify the aforementioned commands, the command will just follow the real time logs of the Container.
### `runnable list [reponame]`
Use this command to get an overview of all the different containers you have under the active Github organization.
You can drill down and list all the branches of a repository by specifying a repository name.
### `runnable upload `
Use this command to upload a file to the repository. The file will be placed on the root of the repository folder on the container.