TABLE OF CONTENTS


Config/Config [ Packages ]

[ Top ] [ Packages ]

FUNCTION

 Provide code for manipulate configuration files

SOURCE

package Config is

Config/Config.Version [ Variables ]

[ Top ] [ Config ] [ Variables ]

FUNCTION

 Version of the program

SOURCE

   Version: constant String := "3.1";

Config/Config.Load_Config [ Subprograms ]

[ Top ] [ Config ] [ Subprograms ]

FUNCTION

 Load specified configuration file

SOURCE

   procedure Load_Config
     (Bob_Commands_List: in out Commands.Commands_Container.Map;
      File_Name: String := ".bob.yml") with
      Pre => File_Name'Length > 0,
      Test_Case => (Name => "Test_LoadConfig", Mode => Nominal);

PARAMETERS

 Bob_Commands_List - The list of the program commands
 FileName          - Path (absolute or relative) to configuration file
                     which will be loaded