-
Notifications
You must be signed in to change notification settings - Fork 159
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
Forest tool migration of forest-cli subcommands #3336
Conversation
src/tool/main.rs
Outdated
let opts = CliOpts::default(); | ||
let path = find_config_path(&opts); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no CliOpts
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed. I can create a small util find_config_path
that doesn't require opts
, sounds ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can you find non-default configuration paths without taking any arguments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know, this is missing for now but will handle that case.
👍
Do I need to update those files in this branch? |
I've updated those files. Lmk if it's good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's have a PR ready in forest-iac
to deal with breaking changes, so we don't have to quickly fix things after a new release.
…hainSafe/forest into elmattic/forest-tool-migration
Here's the PR (draft): ChainSafe/forest-iac#216 |
Summary of changes
Changes introduced in this pull request:
forest-cli
subcommands toforest-tool
:archive info
fetch-params
snapshot fetch
snapshot validate
Reference issue to close (if applicable)
Closes
Other information and links
Change checklist