neume-network / core

A socially-scalable music NFT indexer.
https://neume.network
GNU General Public License v3.0
26 stars 11 forks source link

Implement basic CLI #68

Closed il3ven closed 2 years ago

il3ven commented 2 years ago

This PR tries to implement a basic CLI for neume-network/core.

Usage of CLI

neume --path <crawl-path-file>

Here is a sample crawl path file. The neume-network/core project can still be locally run using npm run dev. The CLI options and commands can be improved in the future as per the needs.

Tests

Even though a new functionality has been added I couldn't think of any unit tests. All the new functionality is pretty straight forward.

TimDaub commented 2 years ago

Even though a new functionality has been added I couldn't think of any unit tests. All the new functionality is pretty straight forward.

fair, I also think it would have been rather contrived to unit test anything here.