init
The init command prepares your project folder to be tracked by Workstate by creating the necessary configuration files.
workstate initHow it works
Section titled “How it works”- Creates
.workstateinclude: Generates a whitelist file in your root directory. Only files and patterns listed here will be captured by thesavecommand. - Populates Defaults: Automatically adds sensible defaults to the include file (e.g.,
src/,README.md,pyproject.toml). - Auto-detection: Attempts to detect your project stack (Python, Node, etc.) to tailor the environment setup.
Examples
Section titled “Examples”cd my-projectworkstate init