Skip to content

fix: add cli contract call arg parsing #1789

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

janniks
Copy link
Collaborator

@janniks janniks commented Mar 7, 2025

This PR was published to npm with the version 7.0.7-pr.5+ad5640b4
e.g. npm install @stacks/[email protected]+ad5640b4 --save-exact

Adds a new argument to the contract call CLI feature.

Now we can pass Clarity arguments directly. e.g. stx BLA BLA "u123, (list 1 2 3)" where the last argument is a comma separated string of the clarity arguments of the function call.

Copy link

vercel bot commented Mar 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stacksjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2025 2:52pm

Copy link

codecov bot commented Apr 30, 2025

Codecov Report

Attention: Patch coverage is 87.80488% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/cli/src/cli.ts 87.80% 5 Missing ⚠️

📢 Thoughts on this report? Let us know!

@janniks janniks requested a review from beguene May 1, 2025 11:32
@janniks janniks marked this pull request as ready for review May 1, 2025 11:34
Copy link
Contributor

@beguene beguene left a comment

Choose a reason for hiding this comment

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

Looks great !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants