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

Client configuration support #8

Merged
merged 2 commits into from
Feb 17, 2024
Merged

Client configuration support #8

merged 2 commits into from
Feb 17, 2024

Conversation

valexsantos
Copy link
Owner

Summary

MKIt client config support

Description

On mkitc first call, default configuration will be copied to $HOME/.mkit with localdefault profile set.

You can add more servers and change active profile with $mkitc profile set <profile_name>, e.g. $mkitc profile set server_2

# ~/.mkit/mkitc_config.yml
mkit:
  local: 
    server.uri: http://localhost:4567
  server_2:  # you can add more servers. change the client active profile with mkitc profile command
    server.uri: http://192.168.29.232:4567

Usage

$ mkitc help profile

Usage: mkitc profile <[set <profile_name>]|[show]>

mkit client configuration profile

Options:
set        set mkit client configuration profile
show       show mkit client current profile

@valexsantos valexsantos merged commit 1bae893 into master Feb 17, 2024
@valexsantos valexsantos deleted the client_cfg_0 branch February 17, 2024 09:31
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.

None yet

1 participant