The representation of the syntax for the commands follow these rules:
quests [all]
This means you can issue quests or quests all.
cast 'spell name' [target]
This means that you must specify the name of the spell, say armor, and you may specify a target (say Bubba). If you do not specify an optional parameter, what happens depends upon the command and the context.
The above would let you issue cast 'armor' bubba (which would cast the spell upon Bubba) or cast 'armor' (which would cast the spell upon yourself).
Note that the quotes are not required here, as the spell name is a single word. While cast armor would work, cast word of recall would not.
bank balance bank deposit gold bank withdraw gold
This describes three varients of the bank command used to check your bank balance (bank balance) to deposit gold coins into the bank (bank deposit 100) and to withdraw money from the bank (bank withdraw 50).