github-release-1.2.4: Upload files to GitHub releases.

Safe HaskellNone
LanguageHaskell2010

GitHubRelease

Documentation

data Command Source #

Constructors

Upload 

Fields

Release 

Fields

Version 
Instances
Show Command Source # 
Instance details

Defined in GitHubRelease

Generic Command Source # 
Instance details

Defined in GitHubRelease

Associated Types

type Rep Command :: Type -> Type #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

ParseRecord Command Source # 
Instance details

Defined in GitHubRelease

type Rep Command Source # 
Instance details

Defined in GitHubRelease

type Rep Command = D1 (MetaData "Command" "GitHubRelease" "github-release-1.2.4-Dzve9EyVeVHIUkmNSpXj4L" False) (C1 (MetaCons "Upload" PrefixI True) ((S1 (MetaSel (Just "file") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (FilePath <?> "The path to the local file to upload.")) :*: (S1 (MetaSel (Just "name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (String <?> "The name to give the file on the release.")) :*: S1 (MetaSel (Just "owner") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String <?> "The GitHub owner, either a user or organization.")))) :*: (S1 (MetaSel (Just "repo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (String <?> "The GitHub repository name.")) :*: (S1 (MetaSel (Just "tag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (String <?> "The tag name.")) :*: S1 (MetaSel (Just "token") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (String <?> "Your OAuth2 token."))))) :+: (C1 (MetaCons "Release" PrefixI True) (((S1 (MetaSel (Just "title") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (String <?> "The name of the release")) :*: S1 (MetaSel (Just "owner") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String <?> "The GitHub owner, either a user or organization."))) :*: (S1 (MetaSel (Just "repo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (String <?> "The GitHub repository name.")) :*: S1 (MetaSel (Just "tag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (String <?> "The tag name.")))) :*: ((S1 (MetaSel (Just "description") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String <?> "Release description.")) :*: S1 (MetaSel (Just "token") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (String <?> "Your OAuth2 token."))) :*: (S1 (MetaSel (Just "preRelease") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool <?> "Indicates if this is a pre-release.")) :*: S1 (MetaSel (Just "draft") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool <?> "Indicates if this is a draft."))))) :+: C1 (MetaCons "Version" PrefixI False) (U1 :: Type -> Type)))

main :: IO () Source #