I can use the GUI to script out the schema for an object or an entire server. Database Browser | Databases | right click, "Generate DDL Script" and the "Script Action to File" option.
Is there a command line feature that does this?
Currently not a feature in Toad.
Enhancement request ST52214 has been submitted to Development for consideration in a future release of Toad for SQL Server.