multiShellKonfig

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

README

multiShellKonfig

Freely inspired by konf-go

Install

Download the needed binary from the release page and save it as msk-bin somewhere in your $PATH.

curl -fsL -o msk-bin https://github.com/golgoth31/multiShellKonfig/releases/download/v0.0.4/msk-bin_v0.0.4_darwin_arm64
chmod +x msk-bin
mv msk-bin <bin path\>

How to use

Source the wapper for the needed shell:

source <(msk-bin shellwrapper zsh)

Source the completion for the needed shell:

source <(msk-bin completion zsh)

To enter a new context:

msk context (or ctx)

To enter a new namespace:

msk namespace (or ns)

You can define some alias for convinience, for example:

alias kns="msk namespace"
alias kctx="msk context"

To do

  • allow to call 1 specific context
  • clean old contexts
  • context completion
  • tests

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis
internal
config
Package config ...
Package config ...
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL