X-CMD Dev
- advise code snippets
- shell code snippets
- awk code snippets
Code Snippets
Yaml
snippets |
output |
@ad:desc |
<desc>: ... |
@ad:tldr |
<tldr>: ... |
@ad:synopsis |
<synopsis>: ... |
@ad:option_desc |
<synopsis>:...<desc>: ... |
@ad:option_group |
<option:...>: ... |
@ad:subcmd_group |
<subcmd:...>: ... |
@ad:tip |
<tip>: ... |
@ad:tip:type |
<tip:note?warn?danger?>: ... |
@ad:ref |
<ref>: ... |
Gits app advise
snippets |
output |
@git:option_group |
<option:optional?required?>: ... |
@git:page |
--page and --per_page advise |
@git:json |
--json\|-j advise |
@git:yes |
--yes\|-y advise |
@git:repo_1 |
$1 is owner_repo advise |
@git:repo_opt |
--repo|-r advise |
Shell
snippets |
output |
xsc |
# Section: ... # EndSection |
cl |
printf "%s\n" "" |
xinit |
init workspace script |
AWK
snippets |
output |
xsc |
# Section: ... # EndSection |
cl |
print $1 |
TypeScript
snippets |
output |
xsc |
/** Section: */ ... /** EndSection: */ |
cl |
console.log(...) |
cll |
console.log(JSON.stringify(...)) |
| |