- Refactor the redis client to use a mutex for thread safety. - Improve error handling in context and playbook factory. - Remove the play_mdbook command and associated tests. - Add play_publisher command and tests for publishing books. - Update the repository cache to use a reference to the redis client. Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
9 lines
200 B
V
9 lines
200 B
V
module playcmds
|
|
|
|
import freeflowuniverse.herolib.core.playbook
|
|
import freeflowuniverse.herolib.hero.publishing
|
|
|
|
pub fn play_publisher(mut plbook playbook.PlayBook) ! {
|
|
publishing.play(mut plbook)!
|
|
}
|