mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 20:29:53 +00:00
16 lines
408 B
Haskell
16 lines
408 B
Haskell
|
{-# LANGUAGE NamedFieldPuns #-}
|
||
|
|
||
|
module Main where
|
||
|
|
||
|
import Directory.Options
|
||
|
import Directory.Service
|
||
|
import Directory.Store
|
||
|
import Simplex.Chat.Core
|
||
|
import Simplex.Chat.Terminal (terminalChatConfig)
|
||
|
|
||
|
main :: IO ()
|
||
|
main = do
|
||
|
opts@DirectoryOpts {directoryLog} <- welcomeGetOpts
|
||
|
st <- getDirectoryStore directoryLog
|
||
|
simplexChatCore terminalChatConfig (mkChatOpts opts) Nothing $ directoryService st opts
|