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

[feat:] Added Config Command to Kitops CLI #523

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Commits on Oct 9, 2024

  1. Added config command to cli

    Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
    SkySingh04 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    f447f86 View commit details
    Browse the repository at this point in the history
  2. Added overriding of flags from config for root command

    Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
    SkySingh04 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    7c69dc7 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. fixes jozu-ai#419

    Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
    SkySingh04 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    840248c View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. refactoring and resolving comments

    Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
    SkySingh04 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    5455886 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. fixed typo ProgressStyle -> progressStyle

    Signed-off-by: Akash <akashsingh2210670@gmail.com>
    SkySingh04 committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    9fcfda9 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Refactor config loading and saving logic

    This commit refactors the code related to loading and saving the configuration file. It introduces a new function `ConfigFilePath` in the `consts.go` file to generate the path for the configuration file based on the `configHome` directory. The `LoadConfig` function now returns the default configuration if the file doesn't exist, and the `SaveConfig` function creates the directory before saving the file. These changes improve the reliability and maintainability of the configuration handling.
    
    Fixes jozu-ai#419
    SkySingh04 committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    eaa6cb5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c3d308f View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Update pkg/cmd/config/config.go

    Co-authored-by: Gorkem Ercan <gorkem.ercan@gmail.com>
    SkySingh04 and gorkem authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    edb0ba1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a3b378 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e45526 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    305ec26 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Configuration menu
    Copy the full SHA
    e694998 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    62069b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bfb0ada View commit details
    Browse the repository at this point in the history