File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
bench/cardano-profile/app Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import qualified Cardano.Benchmarking.Profile.Types as Types
2323
2424data Cli =
2525 Names
26+ | NamesNoEra
2627 | NamesCloudNoEra
2728 | All
2829 | ByName PrettyPrint String
@@ -43,6 +44,8 @@ main = do
4344 case cli of
4445 -- Print all profile names.
4546 Names -> BSL8. putStrLn $ Aeson. encode Profiles. names
47+ -- Print all profile names without the era suffix.
48+ NamesNoEra -> BSL8. putStrLn $ Aeson. encode Profiles. namesNoEra
4649 -- Print all cloud profile (-nomadperf) names.
4750 NamesCloudNoEra -> BSL8. putStrLn $ Aeson. encode Profiles. namesCloudNoEra
4851 -- Print a map with all profiles, with an optional overlay.
@@ -111,11 +114,17 @@ cliParser = OA.hsubparser $
111114 (pure Names )
112115 (OA. fullDesc <> OA. header " names" <> OA. progDesc " All profiles names" )
113116 )
117+ <>
118+ OA. command " names-noera"
119+ (OA. info
120+ (pure NamesNoEra )
121+ (OA. fullDesc <> OA. header " names-noera" <> OA. progDesc " All profiles names (no era suffix)" )
122+ )
114123 <>
115124 OA. command " names-cloud-noera"
116125 (OA. info
117126 (pure NamesCloudNoEra )
118- (OA. fullDesc <> OA. header " names" <> OA. progDesc " All cloud profiles names (no era suffix)" )
127+ (OA. fullDesc <> OA. header " names-cloud-noera " <> OA. progDesc " All cloud profiles names (no era suffix)" )
119128 )
120129 <>
121130 OA. command " all"
You can’t perform that action at this time.
0 commit comments