Runs the __config* function in a file if it exists.
> config_run_config_function "file"
new_file by merging assignments from
old_file for matching variables.
> config_merge_files "new_file" "old_file" # new_file: Any file containing "parameter=value" assignments. # old_file: The configuration file to use existing values from.
Loads the configuration we want to work with from a file.
> config_set_file "file"
Sets an existing
value in the working copy of the config file..
> config_set_parameter "parameter" "value"
Returns the value of a parameter from the working configuration file.
> config_get_parameter "parameter"
Saves the config by activating the working config file.
Cancel working with the current configuration file.
Returns some quick/basic info about the objects in the config.
> config_show_config "object_type"
Open the configuration file for the object in the default editor.
> config_edit_object "object_type" "object_name"
Return the string required to source in the objects’s configuration file.
> config_load_object "object_type" "object_name"
Return the full path to the file which defines the “object”.
> config_return_object_path "object_type" "object_name"
Copies an object.
> config_copy_object "object_type" "object_name" "new_name"
Returns each object of “object type”.
> config_list_all_objects [-l|-a] "object_type" # -l: Returns full path to file which defines the object. # -a: Returns all objects, even if they are defined more than once.
Return the list of object types that are available.
Return the number of objects defined.
> config_object_count "object_type"
Return true if the object exists.
> config_does_object_exist "object_type" "object_name"
Delete an object by name.
> config_delete_object "object_type" "object_name"