Skip to content

Rename cmd/pretty to cmd/prettify for clearer verb-form API#83

Open
telegrapher wants to merge 2 commits intofix/dcr-consistencyfrom
refactor/prettify-rename
Open

Rename cmd/pretty to cmd/prettify for clearer verb-form API#83
telegrapher wants to merge 2 commits intofix/dcr-consistencyfrom
refactor/prettify-rename

Conversation

@telegrapher
Copy link
Collaborator

Summary

  • Rename cmd/pretty package to cmd/prettify so that call sites read as imperative verbs: prettify.JSON(resp) instead of the ambiguous pretty.JSON(resp)
  • Update package declaration, imports, and call sites across 9 source files
  • Git history preserved via git mv

telegrapher and others added 2 commits February 28, 2026 20:52
prettify.JSON() reads as an imperative — "prettify this JSON" — which

better communicates the function's intent than the ambiguous pretty.JSON().

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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