Skip to content

bep/myhugofixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myhugofixer

A CLI tool that prints version-specific Hugo deprecation and migration guides as Markdown.

Installation

go install github.com/bep/myhugofixer@latest

Usage

# Print all available fix guides
myhugofixer

# Print fixes starting from a specific version
myhugofixer -low v0.110.0

# Print fixes up to a specific version
myhugofixer -high v0.146.0

# Print fixes for a specific version range (inclusive)
myhugofixer -low v0.110.0 -high v0.146.0

Use with Claude

Example usage:

claude
Run myhugofixer --low v0.146.0 and apply the Hugo upgrades described. Confirm by running and make sure there's no warnings. Commit when done.

Or without interaction:

claude -p "Run myhugofixer --low v0.146.0 and apply the Hugo upgrades described. Commit when done."

Note: The workspace trust dialog is skipped when Claude is run with the -p mode. Only use this flag in directories you trust.

About

Mainly a "prompt generator" to instruct AI on how to upgrade a Hugo site to a modern version.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages