in eng/tools/specs-model/src/index.ts [4:16]
function getUsage(): string {
return (
" Usage: npx get-specs-model <path-to-specs-file-or-directory>\n" +
"Returns: JSON metadata for the input file or directory.\n" +
"\n" +
"The input path:\n" +
"- Must be an absolute or relative path to local clone of the https://github.com/Azure/azure-rest-api-specs or https://github.com/Azure/azure-rest-api-specs-pr repo.\n" +
"- Must point to the <local_clone>/specification directory or one of its descendants.\n" +
"\n" +
"Example: npx get-specs-model $HOME/repos/azure-rest-api-specs/specification\n" +
"Returns: JSON with metadata for the entire 'specification' directory of the local clone of 'azure-rest-api-specs' repo.\n"
);
}