All Projects → runtools → Run

runtools / Run

Licence: mit
⚡The resource runtime

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Run

Httpie
As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. https://twitter.com/httpie
Stars: ✭ 53,052 (+58846.67%)
Mutual labels:  api, cli, terminal, developer-tools
Httpcat
httpcat is a simple utility for constructing raw HTTP requests on the command line.
Stars: ✭ 109 (+21.11%)
Mutual labels:  api, cli, terminal, command-line
Http Prompt
An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
Stars: ✭ 8,329 (+9154.44%)
Mutual labels:  api, cli, terminal, developer-tools
Cmd2
cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
Stars: ✭ 342 (+280%)
Mutual labels:  cli, terminal, command-line, developer-tools
Curlie
The power of curl, the ease of use of httpie.
Stars: ✭ 877 (+874.44%)
Mutual labels:  cli, terminal, developer-tools
Clifx
Declarative framework for building command line interfaces
Stars: ✭ 900 (+900%)
Mutual labels:  cli, terminal, command-line
Influx Prompt
An interactive command-line InfluxDB cli with auto completion.
Stars: ✭ 42 (-53.33%)
Mutual labels:  cli, terminal, developer-tools
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-41.11%)
Mutual labels:  cli, terminal, command-line
Nve
Run any command on specific Node.js versions
Stars: ✭ 531 (+490%)
Mutual labels:  cli, terminal, command-line
Ed
A modern UNIX ed (line editor) clone written in Go
Stars: ✭ 44 (-51.11%)
Mutual labels:  cli, terminal, command-line
Window Size
Reliable way to to get the height and width of the terminal/console in a node.js environment.
Stars: ✭ 79 (-12.22%)
Mutual labels:  cli, terminal, command-line
Bat
A cat(1) clone with wings.
Stars: ✭ 30,833 (+34158.89%)
Mutual labels:  cli, terminal, command-line
Cheat.sh
the only cheat sheet you need
Stars: ✭ 27,798 (+30786.67%)
Mutual labels:  cli, terminal, command-line
Wonders
🌈 Declarative JavaScript framework to build command-line applications.
Stars: ✭ 34 (-62.22%)
Mutual labels:  cli, terminal, command-line
Sultan
Sultan: Command and Rule over your Shell
Stars: ✭ 625 (+594.44%)
Mutual labels:  cli, terminal, command-line
Lucid
A simple mock-application for programs that work with child processes
Stars: ✭ 45 (-50%)
Mutual labels:  cli, terminal, command-line
Pypistats
Command-line interface to PyPI Stats API to get download stats for Python packages
Stars: ✭ 86 (-4.44%)
Mutual labels:  api, cli, command-line
Lua cliargs
A command-line argument parsing module for Lua.
Stars: ✭ 84 (-6.67%)
Mutual labels:  cli, terminal, command-line
Cross Platform Node Guide
📗 How to write cross-platform Node.js code
Stars: ✭ 1,161 (+1190%)
Mutual labels:  api, cli, terminal
Go Prompt
Building powerful interactive prompts in Go, inspired by python-prompt-toolkit.
Stars: ✭ 4,255 (+4627.78%)
Mutual labels:  cli, terminal, command-line

Run

This is Run's monorepo.

What is Run?

When we work on a project, we usually use several tools such as (in the case of a modern web project), a dependency manager, a transpiler, a bundler, etc. So we need a way to install, configure and compose all these tools. Unfortunately, our good old command line is not very good at this. The interface of the executables is not quite user-friendly, and since typical shells cannot handle several versions of the same tool, managing our development environment is painful when we have to deal with many projects.

Run solves these problems by introducing the concept of resource. A resource adds an object-oriented interface to the tools, making them easier to use both from the command line and, programmatically, from other tools. Using inheritance and composition, it is possible to define projects composed of several tools in an elegant way. Also, since Run installs tools automatically, we get development environments that are easily transportable and shareable.

Installation

To install (or update) Run on macOS or Linux (Windows support will come later), invoke the following command in the terminal:

curl https://install.run.tools | bash

Then, open a new terminal session to make the run command available.

Hello, World!

Let's get started by writing a simple "Hello, World!" resource. First, create a file named @resource.json with the following content:

{
  "hello": {
    "@type": "method",
    "@run": "@console print 'Hello, World!'"
  }
}

Then, invoke Run:

run .

You should see a description of the resource you just created. When you invoke Run without any commands, you get a handy help showing what the current resource is capable of. In the present case, there is only one thing exposed: the hello method. Let's invoke it:

run . hello

Voila! You wrote your first resource. 🎉

Documentation

The full documentation can be found here:

https://run.tools/docs

Contributing

Contributions are more than welcome. Before contributing please read the code of conduct & search the issue tracker; your issue may have already been discussed or fixed in master. To contribute, fork Run, commit your changes, & send a pull request.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].