Change templateload to separate loading of documents and reports

Description

Change templateload to:

  • load documents and SQL reports from different files.
    This will make it easier for practices to upgrade SQL reports to the latest versions, without affecting customised document templates

  • make it easier to load templates
    Currently, the path to the template is required. Change it to allow commands like:

    or:

    Continue to allow custom template loads via path:

  • drop the .sh extension from templateload.sh
    By convention, .sh should only be added to scripts that are sourced from other scripts. In addition, it is slightly easier to document in the help.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Priority

Minor
Configure