Skip to content

Commit

Permalink
Remove all legacy commands except those involved in update proposals
Browse files Browse the repository at this point in the history
Set default top level era to Conway
  • Loading branch information
Jimbo4350 committed Sep 19, 2024
1 parent ddcf25f commit ad32c7f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 865 deletions.
4 changes: 3 additions & 1 deletion cardano-cli/src/Cardano/CLI/EraBased/Commands.hs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ pAnyEraCommand envCli =
Opt.info (AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli) $
Opt.progDesc "Conway era commands"
, subParser "latest" $
Opt.info (AnyEraCommandOf ShelleyBasedEraBabbage <$> pCmds ShelleyBasedEraBabbage envCli) $
Opt.info (AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli) $
Opt.progDesc ("Latest era commands (Babbage)" <> deprecationText)
, -- Default to Conway era
AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli
]

pCmds :: ShelleyBasedEra era -> EnvCli -> Parser (Cmds era)
Expand Down
Loading

0 comments on commit ad32c7f

Please sign in to comment.