2019-12-20 20:47:50 +00:00
# drone-plugin-lib
2019-12-21 21:01:33 +00:00
2022-05-03 20:03:37 +00:00
[![Build Status ](https://img.shields.io/drone/build/thegeeklab/drone-plugin-lib?logo=drone&server=https%3A%2F%2Fdrone.thegeeklab.de )](https://drone.thegeeklab.de/thegeeklab/drone-plugin-lib)
[![Go Report Card ](https://goreportcard.com/badge/github.com/thegeeklab/drone-plugin-lib )](https://goreportcard.com/report/github.com/thegeeklab/drone-plugin-lib)
[![GitHub contributors ](https://img.shields.io/github/contributors/thegeeklab/drone-plugin-lib )](https://github.com/thegeeklab/drone-plugin-lib/graphs/contributors)
[![Source: GitHub ](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white )](https://github.com/thegeeklab/drone-plugin-lib)
[![License: Apache-2.0 ](https://img.shields.io/github/license/thegeeklab/drone-plugin-lib )](https://github.com/thegeeklab/drone-plugin-lib/blob/main/LICENSE)
2022-05-03 20:09:18 +00:00
Helper library to reduce the boilerplate code for writing Drone CI plugins.
2022-05-03 20:03:37 +00:00
## Usage
### Download the package
```Shell
2022-05-03 20:43:18 +00:00
go get -d github.com/thegeeklab/drone-plugin-lib/errors
go get -d github.com/thegeeklab/drone-plugin-lib/urfave
go get -d github.com/thegeeklab/drone-plugin-lib/drone
2022-05-03 20:03:37 +00:00
```
### Import the package
```Go
2022-05-03 20:43:18 +00:00
import "github.com/thegeeklab/drone-plugin-lib/errors"
import "github.com/thegeeklab/drone-plugin-lib/urfave"
import "github.com/thegeeklab/drone-plugin-lib/drone"
2022-05-03 20:03:37 +00:00
```
## Contributors
Special thanks goes to all [contributors ](https://github.com/thegeeklab/drone-plugin-lib/graphs/contributors ). If you would like to contribute, please see the [instructions ](https://github.com/thegeeklab/drone-plugin-lib/blob/main/CONTRIBUTING.md ).
## License
This project is licensed under the Apache-2.0 License - see the [LICENSE ](https://github.com/thegeeklab/drone-plugin-lib/blob/main/LICENSE ) file for details.