init
rigger initCreates the data directory and the database inside it, migrated to the current schema. Running it again is harmless: an existing database is reported and left as it is.
$ rigger initCreated C:\Users\you\AppData\Local\lacodda\rigger\data\rigger.db (schema version 4)Next: rigger project add <path>
$ rigger initAlready initialised: C:\Users\you\AppData\Local\lacodda\rigger\data\rigger.dbEvery other command opens this database and, when it was written by an older rigger, migrates it forward on the spot. A database written by a newer rigger is refused with a message to update.
Where the database lives
Section titled “Where the database lives”| OS | Directory |
|---|---|
| Windows | %LOCALAPPDATA%\lacodda\rigger\data |
| macOS, Linux | the platform’s local data directory for rigger |
RIGGER_DATA_DIR overrides the directory for every command; rigger doctor prints the exact path in use.