| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Free.Agent.Bus.Cli
Description
free-agent bus CLI.
Subcommands:
post [ROOT] [--from NAME] [--to NAME]... [--body TEXT] watch [ROOT] NAME [NAME...] read [ROOT] NAME [NAME...] [--since ID | --cursor NAME] cursor [ROOT] get NAME cursor [ROOT] set NAME ID ping-watch [ROOT] NAME status [ROOT] [--threshold SECS]
Synopsis
- data BusCommand
- = PostCommand FilePath (Maybe Text) [Text] (Maybe Text) Bool
- | WatchCommand FilePath [Text]
- | ReadCommand FilePath [Text] (Maybe Since)
- | CursorGetCommand FilePath Text
- | CursorSetCommand FilePath Text PostId
- | PingWatchCommand FilePath Text
- | StatusCommand FilePath NominalDiffTime
- | DaemonCommand FilePath
- busParser :: Parser BusCommand
- runBusCommand :: BusCommand -> IO ()
- runStatus :: FilePath -> NominalDiffTime -> IO ()
Documentation
data BusCommand Source #
Constructors
Instances
| Show BusCommand Source # | |
Defined in Free.Agent.Bus.Cli Methods showsPrec :: Int -> BusCommand -> ShowS # show :: BusCommand -> String # showList :: [BusCommand] -> ShowS # | |
runBusCommand :: BusCommand -> IO () Source #