An open API service indexing awesome lists of open source software.

https://github.com/rtuin/pla-rpc


https://github.com/rtuin/pla-rpc

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Pla-RPC

Run [Pla](http://github.com/rtuin/pla) commands from anywhere!

Not all features of the Plafile.yml format have been implemented in this edition.
It only supports the basic Plafile structure:

```yaml
targetname:
- echo "foo"
- touch ~/bar
```

## Installation
### Manual

```bash
$ go get ./...
```

## Usage

```bash
$ go run cmd/pla-rpc.go
```

Then call a target using:
`curl http://localhost:7777/targetname`

## Configuration

By default Pla-RPC binds to `localhost:7777`. You can change this value by passing the `-bind=0.0.0.0:8888` parameter when starting Pla-RPC, like so:

```bash
$ go run cmd/pla-rpc.go -bind=127.0.0.1:9090
```

## Dependencies

* [Pla library](https://github.com/rtuin/go-plalib.git)

## Change log

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

## Credits

- [Richard Tuin](http://github.com/rtuin)
- [All Contributors](https://github.com/rtuin/pla-rpc/contributors)