Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Aaron Fu - Add -j option to print JSON format for cleos get currency balance. #7538

Closed
wants to merge 1 commit into from

Conversation

johndebord
Copy link
Contributor

Change Description

In reference to Aaron Fu's PR #7535.

Add support for -j, --json flag to cleos get currency balance, which, in Issue #7397, has been identified by @arhag as the only subcommand that requires such a change.

All changes are made within the main() function in programs/cleos/main.cpp. A bool variable named currency_balance_print_json is added, to get the flag value passed by the user. The code additions are consistent in style with the existing code, e.g. the part for get account.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@arhag
Copy link
Contributor

arhag commented Jun 27, 2019

Closed in favor of #7535 after getting the Buildkite issues resolved.

@arhag arhag closed this Jun 27, 2019
@arhag arhag deleted the aaron-fu-add-json-pr-help branch June 27, 2019 02:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants