Skip to content

fetch up to date emoji list from internet #6

@GROOOOAAAARK

Description

@GROOOOAAAARK

Problem

Static data (emojis and their description) in the CLI may not be up to date, and if not, we can't really know when and what is missing.

Expected Behavior

Fetch the published official repo json file containing gitmojis and descriptions, load as gitmojiconfig array and work on this instead of the static one.
If offline or error while transforming or fetching data, print simple message for user

TODO

  • fetch up to date git emoji json from the gitmoji repo
  • transform the json in an array of gitmojiconfig to use in the search and list methods
    • happyflow
    • fetch error (offline, etc) => use local version (print message "offline use")
    • transform errors => use local version (print message "error format")

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions