LemonNekoGH / easinteraction-for-cadence

Easinteraction is a tool that help users to generate code for easier contract interaction.
https://docs.easi-gen.lemonneko.moe/
MIT License
6 stars 0 forks source link

More friendly cli ouput #30

Open LemonNekoGH opened 1 year ago

LemonNekoGH commented 1 year ago

For single file contract input, if output specified

<number> functions found, <number> types found, <number> events found
Done

Or

Error: <message>

For multiple files input:

Parse flow.json stage:

Parsing flow.json...
<number> contract files found

Each contract file will output:

(<current-number>/<all>) Generation start: <file-name>
<number> functions found, <number> types found, <number> events found
Done
# or
Skipped because error: <message>

After all:

Done, <number> success, <number> failed