Skip to content

Comments

docs: improve README documentation and structure#36

Merged
maxim-uvarov merged 5 commits intomainfrom
docs/readme-missing-commands
Dec 31, 2025
Merged

docs: improve README documentation and structure#36
maxim-uvarov merged 5 commits intomainfrom
docs/readme-missing-commands

Conversation

@maxim-uvarov
Copy link
Member

Summary

  • Document 4 missing public commands in README: generate-numd, extract-command-code, list-exported-commands, module-commands-code-to-record
  • Fix grammar and phrasing issues in commands.nu
  • Restructure README into logical sections: Embeds, Dependency Analysis, Script Profiling, Utilities
  • Fix set-x regex default display (moved from signature to body to avoid multiline help output)

Changes

README.md

  • Added documentation for 4 previously undocumented commands
  • Reorganized into logical sections with proper heading hierarchy (H4 for helper commands)
  • Standardized code fences to nushell
  • Removed redundant prose where help blocks already explain functionality

commands.nu

  • Fixed 8 grammar/phrasing issues:
    • "divided on blocks" β†’ "divided into blocks"
    • "a command code" β†’ "command code"
    • "nushell cli" β†’ "Nushell CLI"
    • Fixed missing space in todo comment
    • "separately here" β†’ "separate"
    • Sentence case for docstrings
    • Fixed module-commands-code-to-record docstring to match behavior
    • "result" β†’ "results"
  • Changed set-x --regex parameter: default moved to function body with documentation in description

Test plan

  • All unit tests pass (nu toolkit.nu test-unit)
  • All integration tests pass (nu toolkit.nu test-integration)
  • dotnu set-x --help displays cleanly on one line

πŸ€– Generated with Claude Code

claude and others added 5 commits December 31, 2025 00:07
Add documentation for 4 public commands that were exported in mod.nu
but missing from README:
- generate-numd
- extract-command-code
- list-exported-commands
- module-commands-code-to-record

Also add help block for set-x showing --regex and --quiet flags.

πŸ€– Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- "divided on blocks" β†’ "divided into blocks"
- "a command code" β†’ "command code"
- "nushell cli" β†’ "Nushell CLI"
- Add missing space after # in todo comment
- "separately here" β†’ "separate"
- "make a record" β†’ "Make a record" (sentence case)
- Fix module-commands-code-to-record docstring to match actual behavior
- "result" β†’ "results" (plural)

πŸ€– Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Reorganize into logical sections: Embeds, Dependency Analysis,
  Script Profiling, Utilities
- Fix heading hierarchy: helper commands now use H4 under H3 parent
- Standardize all code fences to `nushell`
- Remove redundant set-x prose (help block already explains it)
- Remove emoji from title for cleaner look
- Improve descriptions to be before help blocks
- Capitalize section descriptions consistently

πŸ€– Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The default value "\n+\n" contains actual newlines which caused
awkward multi-line display in --help output. Now uses optional
parameter with default applied in function body, and documents
the default in the description.

πŸ€– Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@maxim-uvarov maxim-uvarov merged commit 7187c78 into main Dec 31, 2025
2 checks passed
@maxim-uvarov maxim-uvarov deleted the docs/readme-missing-commands branch December 31, 2025 03:25
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