Skip to content

Migrate to clap 3.0.0 #183

Description

@robinkrahl

Finally, the first release candidate for clap 3.0.0 is available. structopt will not be updated for clap 3.0.0 (TeXitoi/structopt#516), so it will not receive any new features, and we were having some issues (at least #114) that should be fixed in clap 3.0.0. Therefore I think we should consider migrating to clap 3.0.0. I suggest the following migration steps:

  1. add snapshot tests for the --help output of all subcommands and for the --version output
  2. prepare a patch that migrates from structopt to clap 3.0.0-rc.1
  3. compare compile time and binary sizes and decide whether we want to go forward with the migration

Thoughts?

(Looking at the benchmarks, we should expect a small binary size increase, but at least improvements are planned.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions