The command ghost start
executes the run method in ghost-cli/lib/commands/start.js
file.
Now the output of ghost status
is:
┌─────────────┬──────────────────────────┬─────────┬─────────┬─────┬──────┬─────────────────┐ │ Name │ Location │ Version │ Status │ URL │ Port │ Process Manager │ ├─────────────┼──────────────────────────┼─────────┼─────────┼─────┼──────┼─────────────────┤ │ ghost-local │ ~/projects/ghost-hacking │ 3.0.2 │ stopped │ n/a │ n/a │ n/a │ └─────────────┴──────────────────────────┴─────────┴─────────┴─────┴──────┴─────────────────┘
There is no status.js
file in ghost-cli/lib/commands/
directory.
How is the status command executed?