We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--output json
Currently, when trying to automate testing, the process stdout for a binary on init is frustratingly long to parse all the output.
Let's follow wasmd footsteps and and the arg --output json on init to print the relevant information:
wasmd
for example:
"\n\n _ __ _ _ _ __ ___\n | '_ \\| | | | '_ \\ _ \\\n | | | | |_| | | | | | |\n |_| |_|\\__, |_| |_| |_|\n |___/\n\n (gateway - version 1.1.1)\n\n \nInitialising gateway test-data-gateway...\nGateway \"test-data-gateway\" was already initialised before! Config information will be overwritten (but keys will be kept)!\nSaved configuration file to \"/Users/tommyvez/.nym/gateways/test-data-gateway/config/config.toml\"\nGateway configuration completed.\n\n\n\nIdentity Key: 3jCDdg5uGE9n4NMiKUE7mTfRAQeKNCQkdYuT6XB69uCJ\nSphinx Key: 3fq49FEbLzE7zLCvvkT6Jh43TPjsbfc215MD5c2uaW2e\nOwner Signature: owneraddress\nHost: 127.0.0.1 (bind address: 127.0.0.1)\nVersion: 1.1.1\nMix Port: 1789, Clients port: 9000\nData store is at: \"/Users/tommyvez/.nym/gateways/test-data-gateway/data/db.sqlite\"\n"```
To:
{ "identity_key": "3jCDdg5uGE9n4NMiKUE7mTfRAQeKNCQkdYuT6XB69uCJ", "sphinx_key": "3fq49FEbLzE7zLCvvkT6Jh43TPjsbfc215MD5c2uaW2e", "owner_signature": "3DtSfLaDu2av8SCccu8ZwiRA9BDu9P2NDMuZnj2VtvJWwdiExLJqSd3hPZj7Huh9LBPhnJFv1PsMxiaHw76u592t", "host": "127.0.0.1 (bind address: 127.0.0.1)", "version": "1.1.1", "mix_port": 1789, "clients_port": 9000, "data_store": "/Users/tommyvez/.nym/gateways/test-data-gateway/data/db.sqlite" }
This will make life 10x for automation
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Currently, when trying to automate testing, the process stdout for a binary on init is frustratingly long to parse all the output.
Let's follow
wasmd
footsteps and and the arg--output json
on init to print the relevant information:for example:
To:
This will make life 10x for automation
The text was updated successfully, but these errors were encountered: