urfave/cli
Migrating to v2
Initializing search
    GitHub
    • Home
    • v2 Manual
    • v1 Manual
    GitHub
      • Welcome
      • Contributing
      • Code of Conduct
      • Releasing
      • Security
      • Migrate v1 to v2
      • Getting Started
      • Migrating From Older Releases
        • Greet
        • Arguments
        • Flags
        • Subcommands
        • Subcommands Categories
        • Exit Codes
        • Combining Short Options
        • Bash Completions
        • Generated Help Text
        • Version Flag
        • Timestamp Flag
        • Suggestions
        • Full API Example
      • Getting Started
      • Migrating to v2
        • Greet
        • Arguments
        • Flags
        • Subcommands
        • Subcommands (Categories)
        • Exit Codes
        • Combining Short Options
        • Bash Completions
        • Generated Help Text
        • Version Flag
    v1

    Migrating to v2

    There are a small set of breaking changes between v1 and v2. Converting is relatively straightforward and typically takes less than an hour. Specific steps are included in Migration Guide: v1 to v2.


    Last update: August 15, 2022
    Back to top
    Previous Getting Started
    Next Greet
    Made with Material for MkDocs