2014-10-28, 04:37
The options that use JSON will query or update the currently loaded profile - JSON options are those such as jd, s, x, c, C, p, P, purge, qa, qax, query etc.
The options that require direct file system access will by default use only the master profile unless you configure the userdata property with the path for a specific profile. Options that require direct file system access are f, F, r, R, S, X and Xd.
As of right now, the script can be made to work with profiles provided you configure the correct userdata path (for use by the direct file system options) and remember to load the correct profile before running the script when using the JSON options.
The missing functionality is for the script to automatically load the required profile (and possibly automatically adjust the default userdata path when a non-master profile is used) so that you don't have to remember to do so.
The options that require direct file system access will by default use only the master profile unless you configure the userdata property with the path for a specific profile. Options that require direct file system access are f, F, r, R, S, X and Xd.
As of right now, the script can be made to work with profiles provided you configure the correct userdata path (for use by the direct file system options) and remember to load the correct profile before running the script when using the JSON options.
The missing functionality is for the script to automatically load the required profile (and possibly automatically adjust the default userdata path when a non-master profile is used) so that you don't have to remember to do so.