-
Notifications
You must be signed in to change notification settings - Fork 60
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
Add suggestions for all relevant JS commands #345
Conversation
garikbesson
commented
May 23, 2024
•
edited
Loading
edited
- The PR contains fixes of suggestions for new syntax of commands when users try to run commands with old (JS) syntax
- Integration tests are committed only on purpose to review and test the PR. They should be removed before merging.
Please, resolve the conflicts and rewrite integration tests into Rust: If you are new to integration tests in Rust, Rust book has a great chapter: https://doc.rust-lang.org/book/ch11-03-test-organization.html#integration-tests (tip: don't miss the section called "Integration Tests for Binary Crates") P.S. If you feel it is too much, let's call for help to rewrite the tests into Rust, just let me know |
Co-authored-by: Vlad Frolov <[email protected]>
Co-authored-by: Vlad Frolov <[email protected]>
… aliases to separated file
@frol Hi, could you review the PR again? That's key things that have changed since the last review:
CC: @gagdiez |
I re-organized the files following the same structure we had in the NEAR CLI so it is easier to map them 1:1 and thus evaluate them. I further updated all commands to use the same nomenclature than used on NEAR CLI. Finally, I removed the commands that have been deprecated for a while, since anyways there is two options: - Either they are migrating from a tool from were they were already deprecated - They are new to the tool, and thus what is deprecated or not is not important
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 have tested all codes and its variants, and the proposed commands work accordingly
Co-authored-by: Vlad Frolov <[email protected]>
@race-of-sloths please, include my PR in the Race |
@garikbesson Thank you for your contribution! Your pull request is now a part of the Race of Sloths! Current status: executed
The average score is 13 @garikbesson check out your results on the Race of Sloths Leaderboard! and in the profile What is the Race of SlothsRace of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow For contributors:
For maintainers:
Feel free to check our website for additional details! Bot commands
|
…nd 'validator-stake' aliases)
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.
@garikbesson @gagdiez Enormous effort! Thank you for pulling it out!
@race-of-sloths score 13
🌟 Score recorded!@frol, thank you for scoring this pull request in the Race of Sloths! |
## 🤖 New release * `near-cli-rs`: 0.11.1 -> 0.12.0 <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [0.12.0](v0.11.1...v0.12.0) - 2024-07-09 ### Added - Cover *all* commands from near-cli JS with the new near-cli-rs suggestions for full compatibility ([#345](#345)) - Added the ability to select HD Path from the ledger ([#362](#362)) - Added loading indicators for "transaction" group commands and improved the prompt messages ([#358](#358)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/MarcoIeni/release-plz/).
✅ PR is finalized!Your contribution is much appreciated with a final score of 13! Congratulations @garikbesson! Your PR was highly scored and you completed another monthly streak! To keep your monthly streak make another pull request next month and get 8+ score for it |