I want to discover OP Scripts arguments. If the arguments are declared in the configuration tree, this is very easy. However, if the arguments are not declared there, how can I discover OP Script arguments? I know I can use the auto complete functions in the Junos OS CLI, but I want to know if there is an automatic way to achieve this goal. I want to avoid reading the script contents to look for arguments, if possible.
The document Discovering OP Script Arguments walks you through two ways of discovering your arguments.