Hi Dima,
In the command line dialog, you can explore all the available scripting commands. First type 'help" to list the top level of commands. You'll see things listed like 'network' and view'. You can then type 'help view' to see all the commands available in that level. You'll see things like 'view fit content' and a description. Then if you type 'help view fit content', you'll see what arguments you might need in order to run that command (in this case, there are none; that's the whole command!).
If you can't find a command there, then it doesn't exist.
- Alex