Skip to content

feature: add ability to export coin data #29

@Zidious

Description

@Zidious

Why?

Gives the user the ability to create charts or consume the data in some other cool way

How?

new flag --export which will allow the user to export in two possible formats (we can add more later) csv and json.

Requirements:

  1. User must supply at least one option
    1a. csv
    1b. JSON
  2. User can supply both csv and JSON
    2a. should export coin data as csv and JSON
  3. The filename should follow the below format:
    3a. <coin-name>-<timestamp>.<file-ext> example: bitcoin-2022-08-11T01-24:19.262Z.json

☝️ unit tests should be based on these scenarios

Metadata

Metadata

Assignees

Labels

PRHas pull requestenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions