moov-io / iso8583

A golang implementation to marshal and unmarshal iso8583 message.
https://moov.io
Apache License 2.0
349 stars 103 forks source link

Interactive CLI describe input from terminal #95

Closed wadearnold closed 3 years ago

wadearnold commented 3 years ago

The CLI currently allows for a file to be read into the cli and the iso8583 message to be described.

I would like to run the cli as an interactive session. Could we add a -i for interactive or -interactive

➜ ./bin/iso8583 -i describe -spec spec87ascii
➜ message: 0200323A40010841801038000000000000000004200508050113921208050420042251320720000010000001156040800411        01251146333156336000299

ISO 8583 Message:
MTI.............................: 0100
Bitmap..........................: A2380000008000000400000000000000
Bitmap bits.....................: 10100010 10100010 10100010 10100010 10100010 10100010 10100010 10100010
001 Processing Code.............: 000001
011 System Trace Audit Number...: 005835

➜ message: 
wadearnold commented 3 years ago

This has been added. https://github.com/moov-io/iso8583#cli