Make it easier to implement a subcommand
castle-lemongrab opened this issue · comments
Castle Lemongrab commented
It'd be nice to modularize the codebase such that the major functions required to implement a paged-fetch subcommand were all in one place. Right now, they're in multiple places – src/arguments.js
, src/cli.js
, and two functions in src/client.js
. This could be cleaned up.
Balance this with the possibility that the API changes over time and becomes less generic.