File tree 9 files changed +19
-33
lines changed
9 files changed +19
-33
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Data.Function
5
5
import Data.Semigroup
6
6
import Options.Applicative
7
7
import System.IO (IO )
8
- import Testnet.Commands
8
+ import Parsers
9
9
10
10
main :: IO ()
11
11
main = join $ customExecParser
Original file line number Diff line number Diff line change @@ -57,22 +57,21 @@ library
57
57
, unordered-containers
58
58
59
59
hs-source-dirs : src
60
- exposed-modules : Test.Assert
60
+ exposed-modules : Parsers
61
+ Parsers.Babbage
62
+ Parsers.Byron
63
+ Parsers.Cardano
64
+ Parsers.Shelley
65
+ Parsers.Version
66
+ Test.Assert
61
67
Test.Base
62
68
Test.Process
63
69
Test.Runtime
64
70
Testnet
65
71
Testnet.Babbage
66
72
Testnet.Byron
67
73
Testnet.Cardano
68
- Testnet.Commands
69
- Testnet.Commands.Babbage
70
- Testnet.Commands.Byron
71
- Testnet.Commands.Cardano
72
- Testnet.Commands.Shelley
73
- Testnet.Commands.Version
74
74
Testnet.Conf
75
- Testnet.List
76
75
Testnet.Run
77
76
Testnet.Shelley
78
77
Testnet.SubmitApi
@@ -91,7 +90,6 @@ executable cardano-testnet
91
90
92
91
build-depends : cardano-testnet
93
92
, optparse-applicative-fork
94
- , text
95
93
96
94
ghc-options : -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T
97
95
Original file line number Diff line number Diff line change 1
- module Testnet.Commands where
1
+ module Parsers where
2
2
3
3
import Data.Function
4
4
import Data.Monoid
5
5
import Options.Applicative
6
6
import System.IO (IO )
7
- import Testnet.Commands .Babbage
8
- import Testnet.Commands .Byron
9
- import Testnet.Commands .Cardano
10
- import Testnet.Commands .Shelley
11
- import Testnet.Commands .Version
7
+ import Parsers .Babbage
8
+ import Parsers .Byron
9
+ import Parsers .Cardano
10
+ import Parsers .Shelley
11
+ import Parsers .Version
12
12
13
13
{- HLINT ignore "Monoid law, left identity" -}
14
14
Original file line number Diff line number Diff line change 1
- module Testnet.Commands .Babbage
1
+ module Parsers .Babbage
2
2
( BabbageOptions (.. )
3
3
, cmdBabbage
4
4
, runBabbageOptions
Original file line number Diff line number Diff line change 1
- module Testnet.Commands .Byron
1
+ module Parsers .Byron
2
2
( ByronOptions (.. )
3
3
, cmdByron
4
4
, runByronOptions
Original file line number Diff line number Diff line change 1
1
{-# LANGUAGE TypeApplications #-}
2
2
3
- module Testnet.Commands .Cardano
3
+ module Parsers .Cardano
4
4
( CardanoOptions (.. )
5
5
, cmdCardano
6
6
, runCardanoOptions
Original file line number Diff line number Diff line change 1
- module Testnet.Commands .Shelley
1
+ module Parsers .Shelley
2
2
( ShelleyOptions (.. )
3
3
, cmdShelley
4
4
, runShelleyOptions
Original file line number Diff line number Diff line change 1
- module Testnet.Commands .Version
1
+ module Parsers .Version
2
2
( VersionOptions (.. )
3
3
, cmdVersion
4
4
, runVersionOptions
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments