Skip to content

feat(cli): add iroha transaction get and other important commands#5289

Merged
s8sato merged 18 commits intohyperledger-iroha:mainfrom
s8sato:feat/complete_cli
Feb 13, 2025
Merged

feat(cli): add iroha transaction get and other important commands#5289
s8sato merged 18 commits intohyperledger-iroha:mainfrom
s8sato:feat/complete_cli

Conversation

@s8sato
Copy link
Copy Markdown
Contributor

@s8sato s8sato commented Jan 27, 2025

Context

Implements essential but previously missing commands in the client CLI. See Command Line Help

Migration Guide

Some commands are changed in usage or behavior:

  • iroha json query -> iroha query stdin
  • iroha json transaction -> iroha transaction stdin
  • iroha wasm -> iroha transaction wasm
  • iroha * metadata -> iroha * meta
  • iroha asset
    • get-key-value -> getkv
    • set-key-value -> setkv
    • remove-key-value -> removekv
  • iroha events
    • data -> state
    • transaction-pipeline -> transaction
    • block-pipeline -> block
    • execute-trigger -> trigger-execute
    • trigger-completed -> trigger-complete
  • iroha * list all -> iroha * list all --verbose
  • iroha * list all lists only IDs and is intended to be used in combination with iroha * get --id, which retrieves the details of a single entry.

Checklist

  • I've read CONTRIBUTING.md.
  • All review comments have been resolved.
  • All CI checks pass.

Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
Comment thread scripts/tests/tick.json Outdated
Comment thread crates/iroha_cli/README.md Outdated
Comment thread crates/iroha_cli/README.md
Comment thread crates/iroha_cli/samples/parameter.json
@s8sato s8sato added the CLI label Jan 27, 2025
Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
Comment thread pytests/iroha_cli_tests/src/iroha_cli/iroha_cli.py
Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
…mands

Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
@s8sato s8sato force-pushed the feat/complete_cli branch from 4f5d6d5 to 1c5adf3 Compare February 4, 2025 17:22
Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
aoyako
aoyako previously approved these changes Feb 5, 2025
…mands

Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
…mands

Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
@s8sato s8sato force-pushed the feat/complete_cli branch from 0093bea to 8bcdcac Compare February 7, 2025 07:30
…mands

Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
Comment thread CHANGELOG.md Outdated
aoyako
aoyako previously approved these changes Feb 12, 2025
mversic
mversic previously approved these changes Feb 12, 2025
@s8sato s8sato marked this pull request as draft February 12, 2025 14:03
…mands

Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
…iroha#5311)

This reverts commit bdff4af.

Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
@s8sato s8sato dismissed stale reviews from mversic and aoyako via a0b8b2f February 12, 2025 15:21
@s8sato s8sato marked this pull request as ready for review February 12, 2025 15:27
@s8sato s8sato merged commit 623eb1f into hyperledger-iroha:main Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI Enhancement New feature or request

Projects

None yet

4 participants