Documentation Index
Fetch the complete documentation index at: https://mintlify.com/fulsomenko/kanban/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Kanban CLI can be configured through environment variables and configuration files. Most settings have sensible defaults and do not require manual configuration.Environment Variables
KANBAN_FILE
Specifies the path to the kanban data file.- Required for CLI operations (
kanban board list,kanban card create, etc.) - Optional for TUI (can be passed as a positional argument)
- Defaults to
kanban.jsonin the current directory if not specified
KANBAN_DEBUG_LOG
Enables debug logging to a file. Useful for troubleshooting issues or understanding internal behavior.- File system events (load, save, watch)
- State changes and command execution
- Conflict detection and resolution
- TUI navigation and mode transitions
main.rs
External Editor
$EDITOR Environment Variable
Kanban CLI respects the$EDITOR environment variable for editing card descriptions and board settings in JSON format.
$EDITOR is not set, kanban automatically detects available editors in this order:
nvim(Neovim)vimnano- Falls back to system default
- Press
eon a card to edit its description in your preferred editor - Press
Ein board settings to edit board configuration as JSON - Press
Pin card detail view to edit card metadata as JSON
Configuration File
Location
The configuration file is located at:- Linux
- macOS
- Windows
~/.config/kanban/config.tomlAppConfig Structure
The configuration is defined incrates/kanban-core/src/config.rs:
config.rs
Example Configuration
config.toml
Currently, the only supported configuration option is
default_branch_prefix for customizing sprint and card prefixes. Future versions may add more configuration options.File Paths and Data Location
Default File Location
When no path is specified:- TUI mode: Creates/loads
kanban.jsonin the current working directory - CLI mode: Requires explicit path via
KANBAN_FILEor--fileargument
Supported Paths
Kanban CLI supports both relative and absolute paths:File Creation
If the specified file doesn’t exist, kanban automatically creates an empty board file:Empty board structure
Platform-Specific Considerations
Linux
Clipboard Support: For clipboard operations (y/Y to copy branch names), you need a clipboard manager:
- Wayland:
wl-clip-persist,cliphist,clipman - X11: Built-in with most desktop environments
macOS
File Watching: macOS uses FSEvents for file watching. The watcher monitors the parent directory for better atomic write detection.Windows
Path Separators: Windows paths use backslashes (\). Kanban automatically handles path normalization.
Related
Persistence
Learn about data storage and file formats
Multi-Instance
Configure multiple instances safely
