Template:Cmd

From base48

Helper template for rendering command line commands.

Usage: {{cmd|git clone test.repo}} (defaults to bash). Different lang: {{cmd|lang=cpp|code=x ^= 1337.

If using special characters and not getting any result code= is required: {{cmd|code=a=2*b&c}}

<syntaxhighlight lang="bash">{{{1}}}</syntaxhighlight>