engine-deprecated
engine-deprecated copied to clipboard
Include srcd status command
I would be pretty happy if I could run at any moment srcd status. The output would be a comprehensive description of my current setup. For instance, when I was playing with this today, at some point I got could not list images: context deadline exceeded and I didn't know what to do. When running this srcd status I would get the status of the setup and actions to take upon if something is not working (aka git status). It would look something like this when running srcd
The Code as Data solution by source{d}
Usage:
srcd [command]
Available Commands:
components Manage source{d} components and their installations
help Help about any command
init Starts the daemon or restarts it if already running.
kill Stops and removes all containers and volumes used by engine.
parse Classify languages, parse files, and manage parsers
sql Run a SQL query over the analyzed repositories.
version Show the version information
web Start web interfaces for source{d} tools
status Get insights on your local setup
Flags:
--config string config file (default is $HOME/.srcd.yaml)
-h, --help help for srcd
-v, --verbose if true, log all of the things
Use "srcd [command] --help" for more information about a command.
And if we run srcd status we would get something like this: (this should be so much better)
source(d) Engine Status
Main Components:
parse: all setup and ready to start
web parse: localhost refused to connect.
sql: running just fine.
web sql: all setup and ready to start
Code base:
23 Repositories