Skip to content

Conversation

@Harsh4902
Copy link
Member

@Harsh4902 Harsh4902 commented May 12, 2025

Description

  • This PR add support for config file which will store all the Microcks configurations and contexts related information.
  • It also adds support for context command, which will enable users to switch between multiple context and delete a context.
  • As of now, there is no way to create a context. A context will be created once the user will perform a login operation.
  • This PR also adds errors/error.go package which will help to check errors in our CLI tool and handle them appropriately.

** We have added support for config.yaml file with #143. With this PR we are going to add a new localconfig.go which will manage all the config related things. config.go file will be removed in upcoming PR.

** we have also changed the path for saving local config to $HOME/.config/microcks/config from $HOME/.microcks-cli/cofnig/.

Related issue(s)

Fixes #136

Copy link
Member

@lbroudoux lbroudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks very much!

@lbroudoux lbroudoux added this to the 1.0.0 milestone May 13, 2025
@lbroudoux lbroudoux merged commit a7a7b3f into microcks:1.x May 13, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants