Skip to content

Commit

Permalink
chore: add settings cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Youngjin Jo <[email protected]>
  • Loading branch information
yjinjo committed Nov 29, 2024
1 parent 0262547 commit cea6b3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file added cfctl
Binary file not shown.
6 changes: 3 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ func init() {
pterm.DisableColor()
}

// Skip dynamic service loading for config init commands
if len(os.Args) >= 3 && os.Args[1] == "config" && os.Args[2] == "init" {
// Skip dynamic service loading for initialization
// Skip configuration check for settings init commands
if len(os.Args) >= 3 && os.Args[1] == "settings" && os.Args[2] == "init" {
// Skip configuration check for initialization
} else {
// Try to add dynamic service commands
if err := addDynamicServiceCommands(); err != nil {
Expand Down

0 comments on commit cea6b3f

Please sign in to comment.