Skip to content

Commit

Permalink
Adapt CLI to use functions from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Sep 12, 2024
1 parent 1c0da95 commit 204cc97
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Byron/Parsers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module Cardano.CLI.Byron.Parsers
)
where

import Cardano.Api hiding (GenesisParameters, UpdateProposal)
import Cardano.Api hiding (GenesisParameters, UpdateProposal, parseFilePath)
import Cardano.Api.Byron (Address (..), ByronProtocolParametersUpdate (..),
toByronLovelace)
import qualified Cardano.Api.Ledger as L
Expand Down
1 change: 1 addition & 0 deletions cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import Cardano.Api.Shelley hiding (bounded, parseFilePath)

import Cardano.CLI.Environment (EnvCli (..), envCliAnyShelleyBasedEra,
envCliAnyShelleyToBabbageEra)
import Cardano.CLI.Helpers (bounded, parseFilePath)
import Cardano.CLI.Parser
import Cardano.CLI.Read
import Cardano.CLI.Types.Common
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/EraBased/Options/Genesis.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Cardano.CLI.EraBased.Options.Genesis
)
where

import Cardano.Api hiding (QueryInShelleyBasedEra (..))
import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath)
import Cardano.Api.Ledger (Coin (..))

import Cardano.Chain.Common (BlockCount (BlockCount))
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/EraBased/Options/Key.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Cardano.CLI.EraBased.Options.Key
)
where

import Cardano.Api hiding (QueryInShelleyBasedEra (..))
import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath)

import Cardano.CLI.EraBased.Commands.Key
import Cardano.CLI.EraBased.Options.Common
Expand Down
4 changes: 2 additions & 2 deletions cardano-cli/src/Cardano/CLI/Legacy/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ module Cardano.CLI.Legacy.Options
)
where

import Cardano.Api hiding (QueryInShelleyBasedEra (..))
import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath)
import Cardano.Api.Ledger (Coin (..))
import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..))
import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..), parseFilePath)

import Cardano.Chain.Common (BlockCount (BlockCount))
import Cardano.CLI.Environment
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Legacy/Options/Key.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Cardano.CLI.Legacy.Options.Key
)
where

import Cardano.Api hiding (QueryInShelleyBasedEra (..))
import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath)

import Cardano.CLI.EraBased.Options.Common
import Cardano.CLI.Legacy.Commands.Key
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Options/Debug.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Cardano.CLI.Options.Debug
)
where

import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..))
import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..), parseFilePath)

import Cardano.CLI.Commands.Debug
import Cardano.CLI.Commands.Debug.LogEpochState
Expand Down

0 comments on commit 204cc97

Please sign in to comment.