Skip to content

feat: switch to LumeWeb/cli-docs fork and add JSON docs output#82

Merged
pcfreak30 merged 1 commit into
developfrom
feat/cli-docs-json
Jun 13, 2026
Merged

feat: switch to LumeWeb/cli-docs fork and add JSON docs output#82
pcfreak30 merged 1 commit into
developfrom
feat/cli-docs-json

Conversation

@pcfreak30

@pcfreak30 pcfreak30 commented Jun 13, 2026

Copy link
Copy Markdown
Member

Replace urfave/cli-docs with LumeWeb/cli-docs fork via go.mod replace
directive. Adds ToJSON support from the fork with structured command
tree output including names, flags, aliases, defaults, and env vars.

  • pinner generate-docs json - outputs full command tree as JSON
  • go.mod replace directive points to LumeWeb/cli-docs fork

Add JSON documentation generation support to the generate-docs command

This PR adds a new json subcommand under generate-docs, enabling CLI documentation output in JSON format alongside the existing markdown and man formats. The new subcommand supports an --output (-o) flag to write the generated JSON to a file, defaulting to stdout if not specified. The parent command's usage description has been updated to reflect the new format option.

@kody-ai

This comment has been minimized.

@github-actions

github-actions Bot commented Jun 13, 2026

Copy link
Copy Markdown

Code Coverage Report

Total Coverage: 53.4%

Generated from commit: d5c8d26
Repository: LumeWeb/pinner-cli

Replace urfave/cli-docs with LumeWeb/cli-docs fork which has the
renamed module path and adds ToJSON support. All three formats now
available:

- pinner generate-docs markdown
- pinner generate-docs man
- pinner generate-docs json
@pcfreak30 pcfreak30 force-pushed the feat/cli-docs-json branch from daef42f to 6087a85 Compare June 13, 2026 19:17
@kody-ai

kody-ai Bot commented Jun 13, 2026

Copy link
Copy Markdown

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Business Logic

Access your configuration settings here.

@pcfreak30 pcfreak30 merged commit d5fcf4f into develop Jun 13, 2026
9 checks passed
@pcfreak30 pcfreak30 deleted the feat/cli-docs-json branch June 13, 2026 19:39
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.

1 participant