Implemented the spath command.