Skip to content

Commit

Permalink
Display the change url in the lentille CLI
Browse files Browse the repository at this point in the history
This change slightly improves the lentille commands with the
--human parameter.
  • Loading branch information
TristanCacqueray committed Dec 27, 2024
1 parent b0cc86b commit 9664214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CLI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ usageLentille =
humanOption = Options.Applicative.flag False True (long "human" <> O.help "Human readable display")

formatChange :: (Change, [ChangeEvent]) -> String
formatChange (c, _) = let (EChange {..}) = from c in [i|U:#{echangeUpdatedAt}\tC:#{echangeCreatedAt}\tT:#{echangeTitle}|]
formatChange (c, _) = let (EChange {..}) = from c in [i|#{echangeUrl}\t#{echangeTitle}\t#{echangeUpdatedAt}|]

runStandaloneStream = runEff . runErrorIO @LentilleError . runConcurrent . runFailIO . runLoggerEffect . runTime . runRetry . runHttpEffect . G.runGerrit . runPrometheus

Expand Down

0 comments on commit 9664214

Please sign in to comment.