aslamplr / gh-cli

🖥 Yet another unofficial GitHub CLI! Minimalistic, opinionated, and unofficial by default.
https://github.com/aslamplr/gh-cli#gh-cli
MIT License
8 stars 1 forks source link

Bump clap from 3.0.0-beta.1 to 3.0.0-beta.2 #147

Closed dependabot[bot] closed 4 years ago

dependabot[bot] commented 4 years ago

Bumps clap from 3.0.0-beta.1 to 3.0.0-beta.2.

Changelog

Sourced from clap's changelog.

v3.0.0-beta.2 (2020-09-18)

BREAKING CHANGES

  • Removed
    • From<&yaml_rust::yaml::Hash> for ArgGroup
    • Error
      • Error::cause in favor of <Error as Display>::to_string
    • Macros
      • _clap_count_exprs!
  • Renamed Methods
    • App
      • App::set_term_width => App::term_width
    • Arg
      • Arg::from_yaml => Arg::from
      • Arg::with_name => Arg::new
      • Arg::required_if => Arg::required_if_eq
      • Arg::required_ifs => Arg::required_if_eq_any
      • Arg::required_unless => Arg::required_unless_present
      • Arg::required_unless_one => Arg::required_unless_present_any
      • Arg::required_unless_all => Arg::required_unless_present_all
    • ArgGroup
      • ArgGroup::from_yaml => ArgGroup::from
      • ArgGroup::with_name => ArgGroup::new
  • Renamed Variants
    • ErrorKind
      • ErrorKind::HelpDisplayed => ErrorKind::DisplayHelp
      • ErrorKind::VersionDisplayed => ErrorKind::DisplayVersion
  • Changed
    • Error::info now is of type Vec<String> instead of Option<Vec<String>>
    • short in #[clap()] now accepts char instead of &str
    • ArgMatches::subcommand now returns Option<(&str, &ArgMatches)>

Features

  • Added support for subcommands that are flags (pacman style)
  • Added Indices that is returned by ArgMatches::indices_of
  • Added @global_setting for app's macro builder
  • Added Methods
    • Arg
      • Arg::default_missing_value
      • Arg::default_missing_value_os
      • Arg::default_missing_values
      • Arg::default_missing_values_os
      • Arg::short_alias
      • Arg::short_aliases
      • Arg::visible_short_alias
      • Arg::visible_short_aliases
      • Arg::value_hint
    • App
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)