-var clicmdhash = {
+let method2cmd = {
GET: 'get',
POST: 'create',
PUT: 'set',
DELETE: 'delete'
};
-function cliusage(method, path) {
- return `<tr><td> </td></td><tr><td>CLI:</td><td>pvesh ${clicmdhash[method]} ${path}</td></tr></table>`;
+function cliUsageRenderer(method, path) {
+ return `<tr><td> </td></td><tr><td>CLI:</td><td>pvesh ${method2cmd[method]} ${path}</td></tr></table>`;
}