Commit Graph

96 Commits

Author SHA1 Message Date
Thomas Boerger a20f13fdb0
Restructure the code accross more files
I have split the code into various files and beside that I have also
used more flat package structure. I have removed the whole constants for
flag names and environment variables, since nobody got to write these
flags manually anyway as all these variables are assigned to structs
all can benefit form code completion while this lib stays more readable.

Signed-off-by: Thomas Boerger <thomas@webhippie.de>
2019-12-21 21:55:01 +01:00
Don b771a2a224 Expose whether SSL verification is skipped 2019-12-18 15:37:07 -08:00
renovate[bot] 8fb8284d71 chore(deps): add renovate.json (#2) 2019-12-17 12:54:59 -08:00
Thomas Boerger 1735ee431c
Merge pull request #6 from appleboy/cli
chore: upgrade urfave/cli to v2 version
2019-12-17 21:15:53 +01:00
Bo-Yi Wu d1409d8531 chore: upgrade urfave/cli to v2 version 2019-11-23 11:56:16 +08:00
Don a8475a3999 Add env var for log level 2019-10-29 15:16:36 -07:00
Don 049cce9e39 Skip should be regular bool flag 2019-10-29 14:37:15 -07:00
Don f59267804f Downgrade to go 1.12 2019-10-11 16:56:51 -07:00
Don 60574b42f0 Remove golang 1.13 only value 2019-10-11 16:56:15 -07:00
Don 4914fdebc7 Just expose a single Flags function 2019-10-11 16:21:11 -07:00
Don 0324ae7edb Add SSL skip verify flag 2019-10-11 16:20:53 -07:00
Don 537cb2c489 Dont hard code trace level name 2019-10-11 15:50:57 -07:00
Don c4d3e25a63 Remove timeout on client otherwise large files won't download 2019-10-11 15:27:55 -07:00
Don 0efd1b3902 Add opinionated Plugin interface 2019-10-11 11:38:22 -07:00
Don d893f6373c Start fleshing out network helpers 2019-10-11 11:37:45 -07:00
Don 8ff841fbeb Add httptrace facility 2019-10-11 11:36:49 -07:00
Don b693e76822 Add logging for urfave 2019-10-11 11:34:47 -07:00
Don 5c771365c5 Update urfave package docs 2019-10-10 13:42:02 -07:00
Don e8e8ddcb17 Simplify exported urfave flags 2019-10-10 13:36:20 -07:00
Don 294ca8c890 Add Pipeline type 2019-10-10 13:05:11 -07:00
Don 99e18f9a03 Move environment variable definitions to an internal lib 2019-10-10 12:59:12 -07:00
Thomas Boerger 6b33d765ac
Merge pull request #1 from drone-plugins/start
Initial fleshing out of lib
2019-09-16 22:45:27 +02:00
Don 2955306f8d Add Transport to urfave 2019-09-09 18:04:09 -07:00
Don 3a8710d533 Cleanup pkg/plugin 2019-09-09 17:48:26 -07:00
Don 578305b3b6 Cleanup 2019-09-09 17:35:43 -07:00
Don c7b7745e10 Add Context struct 2019-09-09 17:34:39 -07:00
Don a3ef97d454 Add Build support in urfave 2019-09-09 17:14:53 -07:00
Don 799bb0f53a Sort lines 2019-09-09 17:03:34 -07:00
Don 703857da2f Add Build struct 2019-09-09 16:54:52 -07:00
Don b9b4a23880 Add Commit support in urfave 2019-09-09 16:27:59 -07:00
Don 62b9912e0b Add Commit struct 2019-09-09 16:16:32 -07:00
Don ac3fef34db Add SemVer support in urfave 2019-09-09 14:27:12 -07:00
Don 353ef0da17 Add SemVer struct 2019-09-09 14:26:56 -07:00
Don 364de76c24 Add Repo support in urfave 2019-09-09 14:02:13 -07:00
Don 25dcc45148 Add Repo struct 2019-09-09 14:02:00 -07:00
Don df0859e244 Fix flag names for stage in urfave 2019-09-09 12:43:15 -07:00
Don bd5c4ad55e Add parsing from the environment 2019-09-09 11:06:21 -07:00
Don 9095879384 Add BaseConfig 2019-09-06 17:33:15 -07:00
Don 51e01a4761 Add urfave parsing of Stage 2019-09-06 17:13:21 -07:00
Don da64b89684 Add Stage environment variables 2019-09-06 17:13:04 -07:00
Don 17e43494f6 Add Stage type 2019-09-06 17:12:46 -07:00
Don 149d8bc34f Add urfave parsing of Step 2019-09-06 16:34:27 -07:00
Don 537f56a596 Add Step environment variables 2019-09-06 16:32:54 -07:00
Don fb9f59c853 Add Step type 2019-09-06 16:32:38 -07:00
Don f20822d6f8 Add AUTHORS file 2019-09-06 16:32:04 -07:00
Don 0352df680f
Initial commit 2019-09-05 15:37:02 -07:00