Unfortunately, this is not possible because the turtle does not provide tracking. For example, mv is only defined using the Haskell function (without calling the shell), so there is no way to print anything at startup:
mv :: MonadIO io => FilePath -> FilePath -> io () mv oldPath newPath = liftIO (Filesystem.rename oldPath newPath)
This limitation is mentioned in the documentation, where the author recommends a look at Shelly , which seems to be, but provides additional features:
The tortoise is intended for beginners, but as a result of this, some features, such as trace commands, are missing. If you are comfortable using turtles, then you should also check out the Shelley library, which provides similar functionality.
madjar
source share