From GridLAB-D Wiki
The global variable command_line contains the command line string.
GLM
It can be referred to in properties in other objects. For example:
class my_object { char1024 my_string; } object my_object { my_string "${command_line}"; }