Skip to content

feat: add ability to export coin data via JSON and/or CSV with new --save flag#30

Merged
Zidious merged 3 commits intodevelopfrom
feat/export-coin-data
Sep 15, 2022
Merged

feat: add ability to export coin data via JSON and/or CSV with new --save flag#30
Zidious merged 3 commits intodevelopfrom
feat/export-coin-data

Conversation

@Zidious
Copy link
Copy Markdown
Owner

@Zidious Zidious commented Aug 11, 2022

This PR introduces a new flag --save which allows the user to export the coin data via JSON and CSV.

It also supports multiple coins, it will create new JSON/CSV for each coin passed to the CLI.

Example:

crypto --p bitcoin --save json

This command will create a new JSON file: bitcoin-timestamp.json

Or,

crypto --p bitcoin  --p ethereum --save json

This command will create a two new JSON files: bitcoin-timestamp and ethereum-timestamp

Closes issue: #29

@Zidious Zidious changed the title feat: add new flag --save feat: add ability to export coin data via JSON and/or CSV with new --save flag Aug 11, 2022
@Zidious Zidious marked this pull request as ready for review September 15, 2022 03:09
@Zidious Zidious merged commit 7b2e5cd into develop Sep 15, 2022
@Zidious Zidious deleted the feat/export-coin-data branch September 15, 2022 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant