man aegstate (Formats) - state file
NAME
aegstate - state file
SYNOPSIS
CW/state
DESCRIPTION
The state file is used to store the pointers to project directories.
CONTENTS
- where = [{ ... }];
This field is a table relating project name to project directory. The structure is as follows:- project_name = string;
The name of a project.- directory = string;
Absolute path of the project's directory. (Only set of alias_for is not set.)- alias_for = string;
This is the name of another project, possibly including branch numbers. It allows you to have shorter or more meaningful project names. (Only set if directory is not set.)
WRITING REPORT SCRIPTS
When attempting to access these fields from within the report generator, you need a code fragment similar to the following:
auto p; p = project[project_name()];That is, the CW]where field is represented by the CW]project array variable, however, it does not mention the aliases, only the actual projects, similar to the ``ael projects'' command. (You can, however, index the CW]projects array by an alias, or even by a project name with branches on the end.)
In addition to the project_name and directory fields specified above, the report generator insets a state field, which gives you access to the project state fields (see aepstate(5) for more information).
SEE ALSO
COPYRIGHT
version
Copyright Peter Miller;
All rights reserved.
The program comes with ABSOLUTELY NO WARRANTY;
for details use the ' -VERSion License' command.
This is free software
and you are welcome to redistribute it under certain conditions;
for details use the ' -VERSion License' command.
AUTHOR
tab(;); l r l. Peter Miller;E-Mail:;millerp@canb.auug.org.au CW/\/\*;WWW:;http://www.canb.auug.org.au/~millerp/