Skip to content
New issue

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

READY: (wca): Re-work help generation and removing unsafe code #1239

Merged
merged 7 commits into from
Mar 25, 2024

Conversation

Barsik-sus
Copy link
Contributor

@Barsik-sus Barsik-sus commented Mar 22, 2024

In the interest of reusability and efficiency, we've optimized the generate_help_content function to generate all variants of help content. This change ensures that help-related elements in the aggregator are removed after use.

Furthermore, we have taken bold steps to uphold code safety standards by eliminating unsafe code in the Context structure.

These steps forward embody our commitment to producing modular, safe, and efficient code in our project.

 Re-use help for dot help and other variants
 Re-work help related things in aggregator to be removed after use
The help command output in the test file commands_aggregator/help.rs has been revised. The updated test now expects an output that starts with "Help command", aligning it with the new format changes.
@Barsik-sus Barsik-sus changed the title NOT READY: (wca): re work help generation READY: (wca): Re-work help generation and removing unsafe code Mar 22, 2024
@Wandalen Wandalen merged commit cda4ab9 into Wandalen:alpha Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants