mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-13 11:40:01 +00:00
* directory: remove support for directory log file * remove unused exports
16 lines
349 B
Haskell
16 lines
349 B
Haskell
{-# LANGUAGE LambdaCase #-}
|
|
{-# LANGUAGE NamedFieldPuns #-}
|
|
|
|
module Main where
|
|
|
|
import Directory.Options
|
|
import Directory.Service
|
|
import Simplex.Chat.Terminal (terminalChatConfig)
|
|
|
|
main :: IO ()
|
|
main = do
|
|
opts@DirectoryOpts {runCLI} <- welcomeGetOpts
|
|
if runCLI
|
|
then directoryServiceCLI opts
|
|
else directoryService opts terminalChatConfig
|