Use environmental variables to set placeholders

Environmental variables set as: FT_<placeholder name>=...

For example, to set the subject ID: FT_subject=A python ...

To match an environmental variable should either have the same capitalisation as the placeholder name or be fully capitalised, e.g., "FT_SUBJECT" or "FT_Subject" will both match a placeholder named "{Subject}", but "FT_subject" will not.

Order of preference:

  • Values explicitly set in latest FileTree.update (or iteration)
  • Values set while creating the FileTree as keywords in constructor
  • Environmental variables
  • Values set in file-tree text definition
  • Values set using FileTree.update_glob
Edited by Michiel Cottaar