Skip to content

include_directive

Dewayne VanHoozer edited this page Feb 19, 2024 · 1 revision

The //include directive is used to include the content of a file into the prompt text of a base file. It is not recursive. Any comments or other directives that the included file may have to rehected from the inclusion.

//include path_to_file

If the path_to_file is not absolute then it will be considered relative to the PWD.

If you use an envar in the file path, then you must invoke aia with the --shell option to allow the envar to be replaced by its value.

You may use normal prompt parameters within the path_to_file. For example //include [FILE_PATH] will ask you for the value of [FILE_PATH] before the directive is executed.

Uf the file path does not exist or if the file is not readable, aia will abort with an error message explaining that it could not include the designated file.

Clone this wiki locally