Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clarketm/go-bash-wrapper
Run bash scripts with Golang
https://github.com/clarketm/go-bash-wrapper
bash exec golang wrapper
Last synced: 1 day ago
JSON representation
Run bash scripts with Golang
- Host: GitHub
- URL: https://github.com/clarketm/go-bash-wrapper
- Owner: clarketm
- Created: 2017-11-17T21:20:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-24T22:00:30.000Z (over 6 years ago)
- Last Synced: 2024-06-20T05:28:22.061Z (5 months ago)
- Topics: bash, exec, golang, wrapper
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [go-bash-wrapper](https://godoc.org/github.com/clarketm/go-bash-wrapper)
Run bash scripts with Golang## Installation
#### Golang
```shell
$ go get -u github.com/clarketm/go-bash-wrapper
```## Usage
```shell
# Basic usage
$ go-bash-wrapper ~/path/to/script
``````shell
# Forward command line arguments
$ go-bash-wrapper ~/path/to/script arg1 arg2
```You can see the full reference documentation for the **go-bash-wrapper** package at [godoc.org](https://godoc.org/github.com/clarketm/myip), or through go's standard documentation system:
```bash
$ godoc -http=:6060# Open browser to: "http://localhost:6060/pkg/github.com/clarketm/myip" to view godoc.
```