Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update abscissa_core requirement from =0.6.0-beta.1 to =0.6.0-pre.2 in /relayer-cli #20

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 20, 2021

Updates the requirements on abscissa_core to permit the latest version.

Changelog

Sourced from abscissa_core's changelog.

[0.6.0-pre.2] (2021-10-06)

Added

  • clap v3 for better help message.

Migrating to Abscissa 0.6.0-pre.2

The Abscissa 0.6.0-pre.2 now uses clap v3 for command-line argument parsing. This is because Clap automatically handles things like version, help subcommands, and flags thereby providing a friendly help screen.

To migrate to the 0.6.0-pre.2 version from other versions, add the 0.6.0-pre.2 version of abscissa_core in your cargo.toml file.

[dev-dependencies]
abscissa_core = "0.6.0-pre.2"

[dependencies.abscissa_core] version = "0.6.0-pre.2"

Now, replace gumdrop with clapv3 in the dependencies section of your cargo.toml file.

clap = "3.0.0-beta.4"

Clapv3 doesn't support Option, replace Option with Clap in your commands folder and commands.rs file.

  • Use Doc comments in commands and subcommands structs for help messages;
/// Command help message
#[derive(Command, Debug, Default, Clap)]
pub struct Command {
  // This is a free command
    #[clap()]
    pub args: Vec<String>,
  // This accepts short and long flags
    #[clap(short, long)]
    pub overwrite: bool,
}
  • Create an entry point for your application in the commands.rs file.
/// Entry point for the application. It needs to be a struct to allow using subcommands!
#[derive(Command, Debug, Clap)]
#[clap(author, about, version)]
pub struct EntryPoint {
    #[clap(subcommand)]
    // Replace this with you app name
</tr></table> 

... (truncated)

Commits

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)

Updates the requirements on [abscissa_core](https://github.com/iqlusioninc/abscissa) to permit the latest version.
- [Release notes](https://github.com/iqlusioninc/abscissa/releases)
- [Changelog](https://github.com/iqlusioninc/abscissa/blob/main/CHANGES.md)
- [Commits](iqlusioninc/abscissa@cli/v0.6.0-beta.1...cli/v0.6.0-pre.2)

---
updated-dependencies:
- dependency-name: abscissa_core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 20, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 19, 2022

Superseded by #120.

@dependabot dependabot bot closed this Dec 19, 2022
@dependabot dependabot bot deleted the dependabot/cargo/relayer-cli/abscissa_core-eq-0.6.0-pre.2 branch December 19, 2022 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants