Add --root command to allow getting the root directory