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

feat: added wrappers around near-cli to support saving cmd to history #415

Merged
merged 6 commits into from
Dec 3, 2024

Conversation

frolvanya
Copy link
Contributor

This PR introduces shell-specific functions for Bash, Zsh, and Fish shells to improve NEAR CLI's integration with shell history. The provided functions ensure that commands executed via the near CLI are automatically added to the shell's history, making them accessible through arrow keys and standard history mechanisms

@frolvanya frolvanya requested review from frol and FroVolod November 17, 2024 12:07
README.md Outdated Show resolved Hide resolved
frol
frol previously approved these changes Dec 3, 2024
Copy link
Collaborator

@frol frol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@race-of-sloths score 8

docs/SHELL_HISTORY_INTEGRATION.md Show resolved Hide resolved
@race-of-sloths
Copy link

race-of-sloths commented Dec 3, 2024

@frolvanya Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
Do you want to apply for monthly streak? Get 8+ score for a single PR this month and receive boost for race-of-sloths!

Shows inviting banner with latest news.

Shows profile picture for the author of the PR

Current status: executed
Reviewer Score
@frol 8

Your contribution is much appreciated with a final score of 8!
You have received 105 (80 base + 10 weekly bonus + 10 monthly bonus + 5% lifetime bonus) Sloth points for this contribution

@frol received 25 Sloth Points for reviewing and scoring this pull request.

Congratulations @frolvanya! 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

What is the Race of Sloths

Race 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:

  • Tag @race-of-sloths inside your pull requests
  • Wait for the maintainer to review and score your pull request
  • Check out your position in the Leaderboard
  • Keep weekly and monthly streaks to reach higher positions
  • Boast your contributions with a dynamic picture of your Profile

For maintainers:

  • Score pull requests that participate in the Race of Sloths and receive a reward
  • Engage contributors with fair scoring and fast responses so they keep their streaks
  • Promote the Race to the point where the Race starts promoting you
  • Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands
  • For contributors
    • Include a PR: @race-of-sloths include to enter the Race with your PR
  • For maintainers:
    • Invite contributor @race-of-sloths invite to invite the contributor to participate in a race or include it, if it's already a runner.
    • Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
    • Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
    • Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

@frol frol merged commit e10f27d into near:main Dec 3, 2024
11 checks passed
@frol frol mentioned this pull request Nov 30, 2024
dj8yfo pushed a commit that referenced this pull request Dec 12, 2024
## 🤖 New release
* `near-cli-rs`: 0.16.0 -> 0.16.1 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.16.1](v0.16.0...v0.16.1)
- 2024-12-06

### Added

- Added the ability to save payload for broadcast_tx_commit
([#413](#413))
- Get the final CLI command into the shell history with a small helper
setup ([#415](#415))
- Trace configuration for loading wait indicators and --teach-me flag
moved to library ([#417](#417))
- add to devtools workflow
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Shipped 🚀
Development

Successfully merging this pull request may close these issues.

4 participants