Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

suzuki-shunsuke/migrate-urfave-cli-v3

Repository files navigation

migrate-urfave-cli-v3

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

How To Use

  1. Install migrate-urfave-cli-v3
  2. 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

go run

Run by go run:

go run github.com/suzuki-shunsuke/migrate-urfave-cli-v3/cmd/migrate-urfave-cli-v3@latest

Note

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages