Skip to content

Docs core dispatcher v2Docs: Add technical YARD documentation for Core command dispatcher#21283

Closed
Ganesh-abc wants to merge 2 commits intorapid7:masterfrom
Ganesh-abc:docs-core-dispatcher-v2
Closed

Docs core dispatcher v2Docs: Add technical YARD documentation for Core command dispatcher#21283
Ganesh-abc wants to merge 2 commits intorapid7:masterfrom
Ganesh-abc:docs-core-dispatcher-v2

Conversation

@Ganesh-abc
Copy link
Copy Markdown

@Ganesh-abc Ganesh-abc commented Apr 13, 2026

Summary

This PR follows the documentation improvements introduced in #21279 and originally discussed in #21225.

While #21279 focuses on the Modules command dispatcher, this PR applies similar technical YARD documentation improvements to the Core command dispatcher to maintain consistency across dispatcher components.

These changes remain documentation-only and do not modify runtime behavior.

Changes

  • Added YARD documentation for:

    • cmd_cd
    • cmd_color
    • help-related dispatcher methods
  • Added @param tags for method arguments

  • Added @return tags for return values

  • Documentation-only changes (no logic modifications)

Purpose

These updates improve developer clarity and assist in generating accurate framework documentation while maintaining existing functionality.

Verification

  • ruby -c lib/msf/ui/console/command_dispatcher/core.rb → Syntax OK
  • Verified cd command works in msfconsole
  • Verified color command works in msfconsole
  • Confirmed no runtime behavior changes

Please let me know if any additional verification steps would be helpful.

@dwelch-r7 dwelch-r7 closed this Apr 23, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in Metasploit Kanban Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants