The before command hook should take ownership of the Line and return a Line so library-users can access and change parsed lines.
To do this in a way that does not burden the lib-user with the lifetime of the Line we need to get rid of these lifetimes. Probably by copying the parsed string in the Line instead of referencing slices.
The before command hook should take ownership of the Line and return a Line so library-users can access and change parsed lines. To do this in a way that does not burden the lib-user with the lifetime of the Line we need to get rid of these lifetimes. Probably by copying the parsed string in the Line instead of referencing slices.