We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently a common pattern for shell builder is
Hooks
As an example:
let mut hooks = Hooks::new(); hooks.insert(my_handler); let myshell = ShellBuilder::default().with_hooks(hooks);
It would be more ergonomic to eliminate step 2) and provide a method on the shell builder directly to insert a hook, like:
let mut hooks = Hooks::new(); let myshell = ShellBuilder::default().insert_hook(my_handler);
and mirror similar functionality for other state/config.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What would you like to see added?
Currently a common pattern for shell builder is
Hooks
As an example:
It would be more ergonomic to eliminate step 2) and provide a method on the shell builder directly to insert a hook, like:
and mirror similar functionality for other state/config.
The text was updated successfully, but these errors were encountered: