drone-plugin-lib/README.md

36 lines
1.7 KiB
Markdown
Raw Normal View History

# 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-29 11:41:22 +00:00
go get -d github.com/thegeeklab/drone-plugin-lib/v2/errors
go get -d github.com/thegeeklab/drone-plugin-lib/v2/urfave
go get -d github.com/thegeeklab/drone-plugin-lib/v2/drone
2022-05-03 20:03:37 +00:00
```
### Import the package
```Go
2022-05-29 11:41:22 +00:00
import "github.com/thegeeklab/drone-plugin-lib/v2/errors"
import "github.com/thegeeklab/drone-plugin-lib/v2/urfave"
import "github.com/thegeeklab/drone-plugin-lib/v2/drone"
2022-05-03 20:03:37 +00:00
```
## Contributors
2022-07-12 07:12:38 +00:00
Special thanks 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).
2022-05-03 20:03:37 +00:00
## 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.