feat: Parse command-line arguments

This commit is contained in:
Alexander Kobjolke 2025-01-04 23:16:18 +01:00
parent 6603e65131
commit 3376e24fc4
3 changed files with 54 additions and 31 deletions

View file

@ -32,15 +32,12 @@ library
aeson
, base >=4.13 && <5
, bytestring
, containers
, directory
, effectful
, net-mqtt
, network-uri
, process
, optparse-applicative
, req
, text
, time
default-language: GHC2021
executable tk2mqtt
@ -58,15 +55,12 @@ executable tk2mqtt
aeson
, base >=4.13 && <5
, bytestring
, containers
, directory
, effectful
, net-mqtt
, network-uri
, process
, optparse-applicative
, req
, text
, time
, tk2mqtt
default-language: GHC2021
@ -88,15 +82,13 @@ test-suite doctest
aeson
, base >=4.13 && <5
, bytestring
, containers
, directory
, effectful
, net-mqtt
, network-uri
, optparse-applicative
, process
, req
, text
, time
default-language: Haskell2010
test-suite spec
@ -120,16 +112,13 @@ test-suite spec
, aeson
, base >=4.13 && <5
, bytestring
, containers
, directory
, effectful
, hspec
, net-mqtt
, network-uri
, process
, optparse-applicative
, quickcheck-instances
, req
, text
, time
, tk2mqtt
default-language: GHC2021