]> git.proxmox.com Git - pmg-docs.git/blame - api-viewer/PMGAPI.js
installation: fix codeblock rendering in zfs performance tips section
[pmg-docs.git] / api-viewer / PMGAPI.js
CommitLineData
4413eb71
DC
1var clicmdhash = {
2 GET: 'get',
3 POST: 'create',
4 PUT: 'set',
5 DELETE: 'delete'
6};
7
8function cliUsageRenderer(method, path) {
9 return `<tr><td>&nbsp;</td></tr><tr><td>CLI:</td><td>pmgsh ${clicmdhash[method]} ${path}</td></tr></table>`;
410dc2c9 10}