Skip to content

Conversation

@r0x0d
Copy link
Contributor

@r0x0d r0x0d commented Feb 5, 2026

Summary

This patch brings the capabilities of generating manpages using CLI descriptions.

This process is not automated as it would probably not be included in every release or target, so a just target was created to easy the work whenever it is needed.

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

AI Assistance

  • This PR was created or reviewed with AI assistance

Testing

Related Issues

Relates to #5716
Discussion: LINK (if any)

Screenshots/Demos (for UX changes)

Before:

After:

@r0x0d
Copy link
Contributor Author

r0x0d commented Feb 5, 2026

This will help a lot for packaging in Fedora, but I'm pretty sure that it will also help every other package distribution!

@r0x0d r0x0d force-pushed the add-manpage-generation branch from 9094fce to 0676edb Compare February 5, 2026 13:58
@katzdave
Copy link
Collaborator

katzdave commented Feb 5, 2026

What do the actual manpages look like? Should they be in git?

@r0x0d
Copy link
Contributor Author

r0x0d commented Feb 5, 2026

What do the actual manpages look like? Should they be in git?

Ah, good question! No, definitely not.

Manpages are something we want to generate on each release to give people some insights on the CLI args/commands and some usage, when convenient. For instance, take a look at this example (online manpage: https://linux.die.net/man/1/3ddesk).

If you spawn any linux container (e.g; docker run -it fedora:latest bash) and run man man, you will se the docs for the man command.

This will be helpful for downstream packagers to provide some easy documentation for goose, and it's sub-commands. I know that the user could just run goose --help, but man pages could contain more information in the future, like usage, config files schema and etc.

This patch brings the capabilities of generating manpages using CLI
descriptions.

This process is not automated as it would probably not be included in
every release or target, so a `just` target was created to easy the work
whenever it is needed.

Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
@r0x0d r0x0d force-pushed the add-manpage-generation branch from 0676edb to 5dae5dd Compare February 5, 2026 17:18
@katzdave katzdave added this pull request to the merge queue Feb 10, 2026
Merged via the queue into block:main with commit 58e86d5 Feb 10, 2026
18 checks passed
zanesq added a commit that referenced this pull request Feb 10, 2026
…tensions-deeplinks

* 'main' of github.com:block/goose:
  [docs] update authors.yaml file (#7114)
  Implement manpage generation for goose-cli (#6980)
  docs: tool output optimization (#7109)
  Fix duplicated output in Code Mode by filtering content by audience (#7117)
  Enable tom (Top Of Mind) platform extension by default (#7111)
  chore: added notification for canary build failure (#7106)
  fix: fix windows bundle random failure and optimise canary build (#7105)
  feat(acp): add model selection support for session/new and session/set_model (#7112)
  fix: isolate claude-code sessions via stream-json session_id (#7108)
  ci: enable agentic provider live tests (claude-code, codex, gemini-cli) (#7088)
  docs: codex subscription support (#7104)
  chore: add a new scenario (#7107)
  fix: Goose Desktop missing Calendar and Reminders entitlements (#7100)
  Fix 'Edit In Place' and 'Fork Session' features (#6970)
  Fix: Only send command content to command injection classifier (excluding part of tool call dict) (#7082)
  Docs: require auth optional for custom providers (#7098)
  fix: improve text-muted contrast for better readability (#7095)
  Always sync bundled extensions (#7057)
@r0x0d r0x0d deleted the add-manpage-generation branch February 10, 2026 16:52
tlongwell-block added a commit that referenced this pull request Feb 10, 2026
* origin/main:
  feat: add AGENT=goose environment variable for cross-tool compatibility (#7017)
  fix: strip empty extensions array when deeplink also (#7096)
  [docs] update authors.yaml file (#7114)
  Implement manpage generation for goose-cli (#6980)
  docs: tool output optimization (#7109)
  Fix duplicated output in Code Mode by filtering content by audience (#7117)
  Enable tom (Top Of Mind) platform extension by default (#7111)
  chore: added notification for canary build failure (#7106)
  fix: fix windows bundle random failure and optimise canary build (#7105)
  feat(acp): add model selection support for session/new and session/set_model (#7112)
  fix: isolate claude-code sessions via stream-json session_id (#7108)
  ci: enable agentic provider live tests (claude-code, codex, gemini-cli) (#7088)
  docs: codex subscription support (#7104)
  chore: add a new scenario (#7107)
  fix: Goose Desktop missing Calendar and Reminders entitlements (#7100)
  Fix 'Edit In Place' and 'Fork Session' features (#6970)
  Fix: Only send command content to command injection classifier (excluding part of tool call dict) (#7082)

# Conflicts:
#	crates/goose/src/agents/extension.rs
jh-block added a commit that referenced this pull request Feb 10, 2026
* origin/main: (30 commits)
  docs: GCP Vertex AI org policy filtering & update OnboardingProviderSetup component (#7125)
  feat: replace subagent and skills with unified summon extension (#6964)
  feat: add AGENT=goose environment variable for cross-tool compatibility (#7017)
  fix: strip empty extensions array when deeplink also (#7096)
  [docs] update authors.yaml file (#7114)
  Implement manpage generation for goose-cli (#6980)
  docs: tool output optimization (#7109)
  Fix duplicated output in Code Mode by filtering content by audience (#7117)
  Enable tom (Top Of Mind) platform extension by default (#7111)
  chore: added notification for canary build failure (#7106)
  fix: fix windows bundle random failure and optimise canary build (#7105)
  feat(acp): add model selection support for session/new and session/set_model (#7112)
  fix: isolate claude-code sessions via stream-json session_id (#7108)
  ci: enable agentic provider live tests (claude-code, codex, gemini-cli) (#7088)
  docs: codex subscription support (#7104)
  chore: add a new scenario (#7107)
  fix: Goose Desktop missing Calendar and Reminders entitlements (#7100)
  Fix 'Edit In Place' and 'Fork Session' features (#6970)
  Fix: Only send command content to command injection classifier (excluding part of tool call dict) (#7082)
  Docs: require auth optional for custom providers (#7098)
  ...
Tyler-Hardin pushed a commit to Tyler-Hardin/goose that referenced this pull request Feb 11, 2026
Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
Tyler-Hardin pushed a commit to Tyler-Hardin/goose that referenced this pull request Feb 11, 2026
Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
Tyler-Hardin pushed a commit to Tyler-Hardin/goose that referenced this pull request Feb 11, 2026
Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
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