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

cmd: fix config flag #31

Merged
merged 1 commit into from
Nov 4, 2024
Merged

cmd: fix config flag #31

merged 1 commit into from
Nov 4, 2024

Conversation

scriptnull
Copy link
Member

Before

$ go run main.go server --config ./config/config.yaml 
Error: unknown flag: --config
Usage:
  gokakashi server [flags]

Flags:
  -h, --help   help for server

unknown flag: --config
exit status 1

After

$ go run main.go server --config ./config/config.yaml 
2024/10/27 07:42:14 === Starting goKakashi Tool ===
2024/10/27 07:42:14 Loading configuration from YAML file: ./config/config.yaml
2024/10/27 07:42:14 Error: configuration validation failed: websites cannot be empty
exit status 1

@scriptnull scriptnull merged commit 030980e into main Nov 4, 2024
1 check passed
@scriptnull scriptnull deleted the bug/fix-config-flag branch November 4, 2024 00:07
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