-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up CLI #26
Comments
This is currently in progress:
|
Over the course of the 0.9.0 release we've ironed out a rough plan for the public-facing CLI interface.
There may be additional utility commands — sitemap grabbing, database compacting, and url tree generation are two examples of "misc" commands currently in the spidergram CLI — but the set of commands above is critical. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, the core Spidergram project implements a base Command class and a number of example commands. Long term (see the Monorepo task) we want to split the example commands into a separate project to avoid confusion with custom crawl/process/etc commands added by Spidergram-consuming projects.
When we do that, it'd be useful to give the base SgCommand class some internal flags to control output state (verbose, interactive, silent, etc); its helper functions could rely on those flags to control how progress/results are displayed, and child classes wouldn't have to reimplement all the check logic — just set the class property after parsing their own flags.
The text was updated successfully, but these errors were encountered: