Skip to main content

Paths and Files

Paths and Files

Default Path Index

Locate the project-owned files Custy reads, writes, backs up, logs, and initializes.

Command.config/custy/

Category

Reference

Quick Command

project root / relative path

configurationtemplatesbackupsoutputs

Project-Owned Paths​

Active Defaults

PropertyTypeDescriptionDefaultRequired
.config/custy/config.tomlTOMLProject-owned configuration loaded from the current working tree.-No
.config/custy/templates/changelog/changelog.j2Jinja templateTemplate used by ChangelogGenerator to render the complete Markdown document.-No
.config/custy/templates/commit-message.txtTextEditable commit-message source and optional pending changelog content.-No
.config/custy/templates/tag-message.txtTextEditable annotated-tag message source.-No
.config/custy/templates/backups/commit/DirectoryDefault timestamped commit-message backup destination.-No
.config/custy/templates/backups/tag/DirectoryDefault timestamped tag-message backup destination.-No
app/__version__.pyPython sourceGenerated and configured default version file. Initialization may select the detected project-source directory or fall back to src/__version__.py.-No
CHANGELOG.mdMarkdownFixed active changelog output path in the project root.-No
logs/custy.logRotating logBuilt-in log path; both directory and filename can be changed through tool.custy.logging.file.-No

Initialization Directories

Depending on the selected Init mode, Custy can create:

  • .config/custy/
  • .config/custy/templates/
  • .config/custy/templates/backups/commit/
  • .config/custy/templates/backups/tag/
  • .config/custy/templates/changelog/
  • .config/custy/templates/examples/commit_message/
  • .config/custy/templates/examples/tag_message/

The packaged sources under app/templates/ belong to the installed Custy package. Initialization copies or renders those resources into the user's project; users should customize the project-owned copies instead of editing an installed package.


Resolution Rules

  • Run Custy from the intended project root. Most default paths are relative to the current working directory.
  • tool.custy.project.project_source is converted to an absolute path and must exist as a directory when the shared project-source constant is imported.
  • CLI path inputs normally override configuration, which overrides a built-in default.
  • The version-file path is configurable under tool.custy.cli.paths.version_file.
  • Template and backup paths are configurable under tool.custy.cli.templates.file and .directory.
  • The active changelog destination is CHANGELOG.md; the template path is configurable, but this output filename is not currently exposed as a normal project property.


Continue