setup
The setup command runs the interactive configuration wizard: a checklist of modules, then a few prompts for each one you ticked.
kasl setup needs a terminal - every step is a prompt, several of them for secrets. Run it outside one and it refuses with a message naming the problem rather than hanging, before it touches a running watcher. To change one setting - from a script, or without walking a module - use kasl config set.
kasl setup [OPTIONS]-d, --delete: Delete the configuration file instead of running the wizard, so every setting is back to its default. The database, the OS keyring and the PATH are left as they are; it needs no terminal.
Module checklist
Section titled “Module checklist”The wizard opens with a single checklist - a MultiSelect, not a chain of “Enable X? (y/N)” questions - listing every module in this order:
- SiServer
- Jira
- Monitor
- Productivity
- Report
- Task discovery
- Inbox
Whatever you tick runs its own prompts right after the checklist closes; nothing you leave unticked is touched. Fields already in your config file are offered back as defaults, so re-running setup on a module you configured before is an edit, not a rewrite.
SiServer, Jira
Section titled “SiServer, Jira”Each asks for a login and its API URL:
- SiServer: login, login URL, API URL.
- Jira: login, API URL - just the two fields; there is no separate “Jira Username” prompt.
GitLab is not a wizard module. It is a plugin that ships with kasl, and it is set up with kasl plugin setup gitlab - see the plugin reference.
Monitor
Section titled “Monitor”Prompts for min_pause_duration, pause_threshold, poll_interval, activity_threshold, and min_work_interval. One monitor setting, pause_merge_gap, is not part of this prompt set - it is changed with kasl config set monitor.pause_merge_gap 45. See Configuration for what each field controls.
Productivity, Report, Task discovery, Inbox
Section titled “Productivity, Report, Task discovery, Inbox”The remaining four modules configure the productivity thresholds, report output (directory, filename template, language, template name), the task-discovery ignore list, and Jira inbox polling (interval, notifications, sort field, custom fields) respectively. Field-by-field details live on Configuration - this page only tracks what the wizard asks and in what order.
Configuration file location
Section titled “Configuration file location”- Windows:
%LOCALAPPDATA%\lacodda\kasl\config.json - macOS:
~/Library/Application Support/lacodda/kasl/config.json - Linux:
~/.local/share/lacodda/kasl/config.json
Examples
Section titled “Examples”# Run the wizardkasl setup
# Delete the configuration file and start overkasl setup --deletekasl setup
# Change one setting without the wizardkasl config set monitor.pause_threshold 90