Skip to content

Feature CLI Config#13

Draft
lzldev wants to merge 10 commits intovoidcoefficient:mainfrom
lzldev:feat/app-config
Draft

Feature CLI Config#13
lzldev wants to merge 10 commits intovoidcoefficient:mainfrom
lzldev:feat/app-config

Conversation

@lzldev
Copy link
Copy Markdown
Collaborator

@lzldev lzldev commented Apr 13, 2026

Depends on #12

Looks for a config file in the user's config folder before running the cli commands.
Config File path is: {CONFIG_FOLDER}/cfs/config.kdl

CONFIG_FOLDER is:
Linux -> $XDG_CONFIG_HOME or $HOME/.config
macOS -> $HOME/Library/Application Support
Windows -> C:\Users\Alice\AppData\Roaming

Currently the user can only change the SQLITE Database path with:

store_path = "<path_to_folder>"

the default path for the SQLITE Store is {data_local_dir}/cfs.db

data_local_dir is:
Linux -> $XDG_DATA_HOME or $HOME/.local/share
macOS -> $HOME/Library/Application Support
Windows -> C:\Users\Alice\AppData\Local

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant