Migrate github.com/urfave/cli/v2 to v3. This tool doesn't aim to the complete migration. Probably you need to fix code manually after running this tool, but this tool makes the migration easy
- Install migrate-urfave-cli-v3
- Run migrate-urfave-cli-v3
migrate-urfave-cli-v3
By default, this tool finds files by git ls-files
and filters files by file extension .go
.
You can also pass migrated files via command line arguments:
migrate-urfave-cli-v3 cmd/foo/main.go cmd/bar/main.go
Run by go run
:
go run github.com/suzuki-shunsuke/migrate-urfave-cli-v3/cmd/migrate-urfave-cli-v3@latest