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

Add JS commands to CLI for JS SDK #36

Closed
exalate-issue-sync bot opened this issue May 18, 2022 · 2 comments
Closed

Add JS commands to CLI for JS SDK #36

exalate-issue-sync bot opened this issue May 18, 2022 · 2 comments
Assignees

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented May 18, 2022

Options:

  1. New JS CLI commands -> Deprecate JS CLI -> Re-implement as RS CLI extension.
  2. Standalone binary that will become RS CLI extension once it's released.
  3. Option 2 + extension system in JS CLI.

https://near--inc.slack.com/archives/C036BC1UR0A/p1652156537509259

Decision:

Solution 1 - add new commands to JS CLI. We decided this for ease of implementation. It is likely we will re-implement in the Rust CLI when we invest in that longer term.

Acceptance Criteria

Support the following 5 calls

  • call
  • view
  • view-state
  • deploy
  • dev-deploy

with the format: js-call, js-view, js-deploy. . .

Extra Context

The above matches the EVM pattern: evm-call evm-view evm-deploy

@exalate-issue-sync
Copy link
Author

Phuong Nguyen commented:

not sure how to link the issue in Jira, but PR implementing this: near/near-cli#975

@ailisp
Copy link
Member

ailisp commented May 20, 2022

Option 1 is accomplished by @ChaoticTempest

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

No branches or pull requests

2 participants