From 603e6d340611dc15bca876c6374bf5938b8a3d4e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 19 Jan 2015 15:09:03 -0400 Subject: split out types to improve haddock for Propellor.Types --- src/Propellor/Types/CmdLine.hs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/Propellor/Types/CmdLine.hs (limited to 'src/Propellor/Types/CmdLine.hs') diff --git a/src/Propellor/Types/CmdLine.hs b/src/Propellor/Types/CmdLine.hs new file mode 100644 index 00000000..b8f488a4 --- /dev/null +++ b/src/Propellor/Types/CmdLine.hs @@ -0,0 +1,27 @@ +module Propellor.Types.CmdLine where + +import Propellor.Types.OS +import Propellor.Types.PrivData + +import System.Posix.Types + +data CmdLine + = Run HostName + | Spin [HostName] (Maybe HostName) + | SimpleRun HostName + | Set PrivDataField Context + | Dump PrivDataField Context + | Edit PrivDataField Context + | ListFields + | AddKey String + | Merge + | Serialized CmdLine + | Continue CmdLine + | Update (Maybe HostName) + | Relay HostName + | DockerInit HostName + | DockerChain HostName String + | ChrootChain HostName FilePath Bool Bool + | GitPush Fd Fd + deriving (Read, Show, Eq) + -- cgit v1.2.3