5 Hooke initializes a number of variables by reading configuration
11 Hooke uses Python's configparser_ library to read the config files.
12 The format is similar to MS Windows' INI (initialization) format::
18 .. _configparser: http://docs.python.org/library/configparser.html
25 $ hooke --save-config -c ''
27 To write a well commented example config file to :file:`.hooke.cfg`.
30 Finding configuration files
31 ---------------------------
33 The default search path follows the `Filesystem Hierarchy Standard`_,
34 and so will probably need adjustment for non-\*nix systems. The
37 * :file:`/usr/share/hooke/hooke.cfg`
38 * :file:`/etc/hooke/hooke.cfg`
39 * :file:`~/.hooke.cfg`
40 * :file:`./.hooke.cfg`
42 but alternatives can be specified from the command line launching
45 .. _Filesystem Hierarchy Standard: http://www.pathname.com/fhs/
47 .. todo:: Implement command-line specified config file.
49 .. warning:: Any changes you make to the configuration during a Hooke
50 run will *not be saved* when Hooke exits. To save the changes,
51 either run the `save config` command before closing Hooke, or start
52 Hooke with the ``--save-config`` option.
54 .. todo:: Implement `save config` command.