https://github.com/rtuin/pla-rpc
https://github.com/rtuin/pla-rpc
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rtuin/pla-rpc
- Owner: rtuin
- License: mit
- Created: 2016-06-13T04:42:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-24T05:22:38.000Z (about 10 years ago)
- Last Synced: 2026-01-01T14:37:27.161Z (6 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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)