Documentation
¶
Overview ¶
Package sync implements the "ctx sync" command for reconciling context files with codebase changes.
The sync command scans the project for new directories, package manager files, and configuration files that are not yet documented in context files. It suggests actions to keep context aligned with the actual project structure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the "ctx sync" command for reconciling context with codebase.
The command scans the codebase for changes that should be reflected in context files, such as new directories, package manager files, and configuration files.
Flags:
- --dry-run: Show what would change without modifying files
Returns:
- *cobra.Command: Configured sync command with flags registered
Types ¶
Click to show internal directories.
Click to hide internal directories.