Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR1: Add Viper and set some basic for further PRs #38

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

schretzi
Copy link

@schretzi schretzi commented Feb 9, 2025

  • CHANGE.md is adding documentation for what is planned. When features are merged relevant parts will be merged into README
  • Adding Viper to search and parse yaml files. Viper has great features, but out of the box only supports one format at a time. Search path in following order:
    1. $XDG_CONFIG_HOME/zeit.yaml
    2. $XDG_CONFIG_HOME/zeit/zeit.yaml
    3. $HOME/.config/zeit.yaml
    4. $HOME/.config/zeit/zeit.yaml
  • Exchanging Tab with space in EntryCmd for consistent formating
  • initDatabase is called in each single Cmd file, moved to InitConfig in RootCmd to deduplicate code

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