Hi I have been very excited about some of the features the PyRevit CLI has to offer, among adding additional extension sources. As outlined in the wiki, one could either pass a path or url as source.
However, I can’t seem to be able to add a URL as source. Not as the example given, nor with a custom URL. Am I doing something wrong or is this a known limitation?
pyrevit extensions sources add "https://github.com/eirannejad/pyRevit/blob/master/extensions/extensions.json"
Thrown error in the CLI:
Error: The given path's format is not supported. (System.NotSupportedException)
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at pyRevitLabs.Common.Extensions.StringExtensions.NormalizeAsPath(String path)
at pyRevitLabs.PyRevit.PyRevitExtensions.RegisterExtensionLookupSource(String extLookupSource)
at pyRevitCLI.PyRevitCLI.ProcessArguments()
at pyRevitCLI.PyRevitCLI.Main(String[] args)