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

refactor: Umbrella Iroha CLI Pt. I #5274

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aoyako
Copy link
Contributor

@aoyako aoyako commented Dec 26, 2024

Related to #4969

This PR is the 1st part of the unification of cli tools into the iroha tool (#4969 (comment)).

Changes introduced extend the default scope of iroha by adding:
iroha codec (types, json-to-scale, scale-to-json, scale-to-rust)
iroha wasm (check, build, test)
iroha client (same as regular iroha before)

Documentation in the readme is updated as well. I believe the documentation update on the website will be updated afterward.


More on updates:

  1. iroha client was well designed and mostly left intact, but as for other commands, the approach of calling run on arguments is adopted.
  2. README.md is fixed to be one for the iroha cli, but it refers to other readmes explaining the usage of subcommand in detail.
  3. Some samples (at least for codec) are moved from crates/ into samples/ (probably related to Contrast /crates and /samples #5225)

@aoyako aoyako changed the title Refactor: Umbrella Iroha CLI Pt. I fefactor: Umbrella Iroha CLI Pt. I Dec 26, 2024
@aoyako aoyako changed the title fefactor: Umbrella Iroha CLI Pt. I refactor: Umbrella Iroha CLI Pt. I Dec 26, 2024
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
@aoyako aoyako added the CLI label Dec 26, 2024
@s8sato s8sato self-assigned this Dec 27, 2024
@aoyako aoyako marked this pull request as draft December 27, 2024 08:44
Copy link
Contributor

Choose a reason for hiding this comment

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

I recommend starting by aiming to reduce them to three binaries -- daemon, client, and dev tools. Further steps seem to be still controversial

Copy link
Contributor

Choose a reason for hiding this comment

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

Perfect demarcation

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

Successfully merging this pull request may close these issues.

3 participants