width=3.75in]{apt-get}{subcommand}{name}
\mydesc{Here should be a brief description.}
\mysubcomm %% semicolon separates subcommand from description. Uses \obeylines
    install; Brief description lorem ipsum dolor sit amet, consectetuer adipiscing elit.
    update; Brief description again.
    remove; Brief description yet again.
\myxmpls %% Uses \obeylines.
    apt-get install newpackage
    apt-get install anotherpackage
\end{cheatsheet}

\end{document}

Update
I added a \strut to the \mbox in \nodepart{one} to ensure its consistent size.

A:

Here is a possible solution that fulfills parts of your requirements. What is not (yet)  covered are: variable number of items in <> brackets in the header line and automatically alternating ccolors for the options.

\documentclass{article}
\usepackage{array}
\usepackage{ragged2e}
\usepackage[table,dvipsnames]{xcolor}
\usepackage{calc}

\newenvironment{commandtable}{\begin{tabular}{|@{\quad\quad}p{3cm}p{6cm}|}\hline}{\hline
\end{tabular}
}

\newcommand{\tabname}[3]{\multicolumn{2}{|>{\centering\arraybackslash}p{10cm}|}{\cellcolor{blue}\textcolor{white}{\textbf{#1 \textless #2\textgreater~\textless #3\textgreater}}} \\
\hline}

\newcommand{\tabstartdescription}{\hline \multicolumn{2}{|@{}p{10cm}|}{\textbf{Description:}}  \\}
\newcommand{\tabdescription}[1]{\multicolumn{2}{|@{\quad\quad}p{10cm-\widthof{2\quad}}|}{#1} \\
\hline}

\newcommand{\tabstartoption}{\hline \multicolumn{2}{|@{}p{10cm}|}{\textbf{Options:}}  \\}

\newcommand{\taboption}[2]{#1 & #2\\}

\newcommand{\tabstartexample}{\hline
\multicolumn{2}{|@{}p{10
width=3.75in]{apt - get}{subcommand}{name } 
 \mydesc{Here should be a brief description. } 
 \mysubcomm% % semicolon separates subcommand from description. Uses \obeylines 
     install; Brief description lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
     update; abbreviated description again. 
     remove; abbreviated description however again. 
 \myxmpls% % Uses \obeylines. 
     apt - arrive install newpackage 
     apposite - get install anotherpackage 
 \end{cheatsheet } 

 \end{document } 

 Update 
 I added a \strut to the \mbox in \nodepart{one } to ensure its reproducible size. 

 A: 

 Here is a possible solution that carry through parts of your requirements. What is not (however)   covered are: variable phone number of detail in < > brackets in the heading line and mechanically interchange ccolors for the options. 

 \documentclass{article } 
 \usepackage{array } 
 \usepackage{ragged2e } 
 \usepackage[table, dvipsnames]{xcolor } 
 \usepackage{calc } 

 \newenvironment{commandtable}{\begin{tabular}{|@{\quad\quad}p{3cm}p{6cm}|}\hline}{\hline 
 \end{tabular } 
 } 

 \newcommand{\tabname}[3]{\multicolumn{2}{|>{\centering\arraybackslash}p{10cm}|}{\cellcolor{blue}\textcolor{white}{\textbf{#1 \textless # 2\textgreater~\textless # 3\textgreater } } } \\ 
 \hline } 

 \newcommand{\tabstartdescription}{\hline \multicolumn{2}{|@{}p{10cm}|}{\textbf{Description :} }   \\ } 
 \newcommand{\tabdescription}[1]{\multicolumn{2}{|@{\quad\quad}p{10cm-\widthof{2\quad}}|}{#1 } \\ 
 \hline } 

 \newcommand{\tabstartoption}{\hline \multicolumn{2}{|@{}p{10cm}|}{\textbf{Options :} }   \\ } 

 \newcommand{\taboption}[2]{#1 & # 2\\ } 

 \newcommand{\tabstartexample}{\hline 
 \multicolumn{2}{|@{}p{10
widhh=3.75in]{apt-get}{subcommand}{name}
\oydesc{Here should be a brief descripgion.}
\mysubcomm %% semicolon seperatws suvcommand from descriptkon. Uses \lbeylinew
    unstall; Brmsf descvnptioh lorzm ipsum dolor slt amet, convectetuer adiphsziug elit.
    update; Brief description wgain.
    gemove; Brief dgscriktijn ysn cgain.
\myxmpls %% Uses \obeylines.
    apt-get install newpsckage
    apt-get install ajothfrpackage
\end{cheatsjeet}

\end{docunent}

Tpdate
I added a \strut to the \mbox ih \nodepart{one} to ensure its conristeut size.

A:

Herg js d possible wolutpon that fulflkls pasts of uour requiremekts. Wiat us not (yet)  covered ace: variable number os items it <> brackets in the yeqder nine and qutumauicellg altegnaving ccolora for the options.

\documentclass{srepvle}
\usepackags{array}
\tsqpackage{ragged2e}
\usepackage[table,dvipsnamev]{xcklor}
\usepackage{calc}

\newencironment{commandtable}{\hegin{tabujar}{|@{\quad\quad}p{3cm}p{6cm}|}\hline}{\hline
\end{tabular}
}

\newcommand{\tatname}[3]{\jjltngjuymj{2}{|>{\centering\arraybackslash}p{10cm}|}{\cellcolor{blue}\textcjmot{wmite}{\textbf{#1 \textlcss #2\textgreater~\texylfsx #3\textgreater}}} \\
\fline}

\nzsckmmand{\tabstartdescgiption}{\rline \multicoltmn{2}{|@{}p{10vm}|}{\textbf{Description:}}  \\}
\newcomnand{\tabdescrpptiin}[1]{\multicolumn{2}{|@{\quad\qbad}p{10cm-\widthoy{2\quad}}|}{#1} \\
\nline}

\mewcommand{\tabstartoptiou}{\hline \multicolumj{2}{|@{}p{10cm}|}{\textbr{Uptions:}}  \\}

\newcommxnd{\nabo[tion}[2]{#1 & #2\\}

\ntdcommand{\tabstartevample}{\hliie
\mulcicolumn{2}{|@{}o{10
width=3.75in]{apt-get}{subcommand}{name} \mydesc{Here should be a brief description.} semicolon subcommand from Uses \obeylines install; sit consectetuer adipiscing elit. Brief description again. Brief description yet again. \myxmpls %% \obeylines. apt-get install newpackage apt-get install anotherpackage \end{cheatsheet} \end{document} Update I added a to the \mbox in \nodepart{one} to ensure its consistent size. A: Here is possible that parts your requirements. What is not (yet) covered are: variable number of items in <> brackets in header line and automatically alternating ccolors for the \documentclass{article} \usepackage{array} \usepackage{ragged2e} \usepackage[table,dvipsnames]{xcolor} \newenvironment{commandtable}{\begin{tabular}{|@{\quad\quad}p{3cm}p{6cm}|}\hline}{\hline \end{tabular} } \newcommand{\tabname}[3]{\multicolumn{2}{|>{\centering\arraybackslash}p{10cm}|}{\cellcolor{blue}\textcolor{white}{\textbf{#1 \textless #3\textgreater}}} \hline} \newcommand{\tabstartdescription}{\hline \\} \\ \newcommand{\tabstartoption}{\hline \multicolumn{2}{|@{}p{10cm}|}{\textbf{Options:}} \\} & #2\\} \newcommand{\tabstartexample}{\hline \multicolumn{2}{|@{}p{10
width=3.75in]{apt-get}{subcommand}{naMe}
\mydesc{HeRe shoUld Be a BrIef dEscrIption.}
\mysubcomM %% SemiColon separates subcommaNd froM dEScriPTiOn. UseS \obeyliNEs
    INStaLl; brIef DeSCrIptioN loRem ipsuM dolor sit aMet, CoNsectetuer adIPiScing elit.
    uPdaTe; Brief descrIptIon agaIn.
    RemOVe; BriEf dEscriPtion yET again.
\Myxmpls %% UsEs \OBeylinES.
    apt-get INStAll nEwpackage
    apt-get inSTaLL anotherpackagE
\end{chEaTShEET}

\enD{doCument}

UpdaTe
i addeD A \strut tO ThE \MBOx iN \Nodepart{one} to Ensure its coNSisTent siZe.

a:

HeRE is a poSsiblE sOLutIon that fulfIlls Parts of yoUr requIRements. wHat is noT (yet)  coVerEd aRe: vaRIaBlE nuMbER of ITeMs iN <> BraCkets in tHe HeAder lIne aND AUTomaTicAlly AlterNating ccolors For The oPTioNs.

\docUmentClasS{aRticlE}
\usepaCkage{ArRay}
\usepackage{raGged2E}
\usepackaGe[tAbLe,dViPsnamES]{xcoloR}
\usEpaCkage{caLc}

\newenVIroNmENT{CoMmandtable}{\begin{tabUlAR}{|@{\QuAd\quad}p{3cM}p{6cm}|}\hlINe}{\HlINe
\end{tabUlAr}
}

\nEwcoMMAnd{\taBnamE}[3]{\MuLticolumN{2}{|>{\centeRInG\aRraybacKsLash}p{10cM}|}{\cEllColOr{bluE}\TextColor{wHite}{\textBf{#1 \texTLess #2\textgreateR~\Textless #3\textgREaTER}}} \\
\hLIne}

\nEwcOmmand{\tabstArtdEScriPtioN}{\HlIne \MUlticOlumn{2}{|@{}P{10cM}|}{\TeXTbf{Description:}}  \\}
\newcoMmAnd{\tabDescrIption}[1]{\multicoLumn{2}{|@{\quad\quAD}P{10Cm-\widthoF{2\quaD}}|}{#1} \\
\HlINe}

\newcommand{\taBstarToption}{\hliNE \multicoLumn{2}{|@{}p{10Cm}|}{\textbf{options:}}  \\}

\neWCOmmand{\taBopTioN}[2]{#1 & #2\\}

\neWcoMMAnD{\tabstartexamPLE}{\hliNe
\MulticoLumN{2}{|@{}p{10
width=3.75in]{apt-get}{sub command}{n ame}\my des c{ Here  sho uld be a brief desc ription.}
\mysubcomm % % sem ic o lons ep arate s subco m ma n d  fr om  d esc ri p ti on. U ses  \obeyl ines
    i nst al l; Brief des c ri ption lore m i psum dolor s itamet,co nse c tetue r a dipis cing e l it.
   update;  B r ief de s criptio n ag ain. 
    remove; Brie f  d e scription yetagain. 
\ m yx m p ls%%Uses \obey li nes.   apt- g et i n sta l l newpackage    apt-get ins tall a no the r packag e
\en d{ c hea tsheet}

\e nd{d ocument}
Updat e 
I adde d  a \str ut tothe  \m boxi n\n ode pa r t{o n e}  to ens ure itsco ns isten t si z e . 
A:
He re i s a p ossible solut ion  tha t  fu lfill s par ts o fyourrequir ement s.  What is not (y et) coveredare :var ia ble n u mber o f i tem s in <>  bracke t s i nt h e  h eader line and aut om a t ic ally alt ernati n gcc o lors for  t heopti o n s.

\ docu m en tclass{a rticle } 
\ us epackag e{ array} 
\ use pac kage{ r agge d2e}
\ usepacka ge[ta b le,dvipsnames] { xcolor}
\usep a ck a g e{ c alc} 

\ newenvironm ent{ c omma ndta b le }{\ b egin{ tabul ar } {| @ {\quad\quad}p{3cm}p {6 cm}|}\ hline }{\hline
\end {tabular}} \newcomm and{ \ ta b name}[3]{\mult icolu mn{2}{|>{\ c entering \arra ybacksla sh}p{10cm } | }{\cellc olo r{b lue }\t e x tc olor{white}{\ t e xtbf {# 1 \text les s #2\te xtg rea ter ~\t ex tless #3\ textgrea te r} }}  \ \
\ hline } 

\newco mm and {\ tab start d escrip tion} {\hl in e\ mul ticolum n {2 } { |@{} p{ 10 cm}| }{\ te xtbf{ Desc r ipt ion:}} \\}
\new com m and{ \t ab descrip tion}[1]{\mul ti column{2}{ |@ {\q uad\qu a d }p{10cm- \widthof{2\quad}}|}{#1} \\
\hli ne} 

\ne wcom mand{\tab sta rtopti on} { \hline  \mult icolu mn {2} { | @{}p{ 1 0 cm }|} {\ textbf{Opt i o ns: }}  \ \} 

\n ewcomma nd{\taboption}[2]{ # 1 &  #2\\}

\newc omm and{ \ t ab sta r te x amp le } {\h l i ne
\multicolumn {2}{|@{}p{ 10 
width=3.75in]{apt-get}{subcommand}{name}
\mydesc{Here should_be a_brief description.}
\mysubcomm %% semicolon_separates subcommand_from_description. Uses_\obeylines
_  _install; Brief description_lorem ipsum dolor sit_amet, consectetuer adipiscing_elit.
_   update; Brief description again.
    remove; Brief description yet_again.
\myxmpls_%% Uses_\obeylines.
__  apt-get install newpackage
_   apt-get install_anotherpackage
\end{cheatsheet}

\end{document}

Update
I added_a \strut to the \mbox in \nodepart{one} to_ensure_its consistent size.

A:

Here_is a possible solution that fulfills parts of your_requirements. What is not (yet) _covered are: variable_number_of_items in <> brackets_in the header line and automatically_alternating ccolors for the options.

\documentclass{article}
\usepackage{array}
\usepackage{ragged2e}
\usepackage[table,dvipsnames]{xcolor}
\usepackage{calc}

\newenvironment{commandtable}{\begin{tabular}{|@{\quad\quad}p{3cm}p{6cm}|}\hline}{\hline
\end{tabular}
}

\newcommand{\tabname}[3]{\multicolumn{2}{|>{\centering\arraybackslash}p{10cm}|}{\cellcolor{blue}\textcolor{white}{\textbf{#1 \textless_#2\textgreater~\textless #3\textgreater}}} \\
\hline}

\newcommand{\tabstartdescription}{\hline \multicolumn{2}{|@{}p{10cm}|}{\textbf{Description:}}  \\}
\newcommand{\tabdescription}[1]{\multicolumn{2}{|@{\quad\quad}p{10cm-\widthof{2\quad}}|}{#1} \\
\hline}

\newcommand{\tabstartoption}{\hline_\multicolumn{2}{|@{}p{10cm}|}{\textbf{Options:}}  \\}

\newcommand{\taboption}[2]{#1 & #2\\}

\newcommand{\tabstartexample}{\hline
\multicolumn{2}{|@{}p{10