zabgrab.cli.config

zabgrab config commands.

Functions

edit_target_path(env, kind)

Find the config file to edit for a layer.

zabgrab.cli.config.edit_target_path(env, kind)[source]

Find the config file to edit for a layer.

Parameters:
  • env (Environment) – The environment, for the platform’s config paths.

  • kind (LayerKind) – The layer (user, system or project).

Returns:

Path – The file, which may not exist yet.

Return type:

Path