summaryrefslogtreecommitdiff
path: root/src/Propellor/Types/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2015-01-19 15:09:03 -0400
committerJoey Hess2015-01-19 15:09:03 -0400
commit603e6d340611dc15bca876c6374bf5938b8a3d4e (patch)
tree925f2eeb80d26a3c1f1d3c99acda2906d78f9b8e /src/Propellor/Types/CmdLine.hs
parent04d4d0d6c43dcf7643417bb16927f314b55e42fc (diff)
split out types to improve haddock for Propellor.Types
Diffstat (limited to 'src/Propellor/Types/CmdLine.hs')
-rw-r--r--src/Propellor/Types/CmdLine.hs27
1 files changed, 27 insertions, 0 deletions
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)
+