An open API service indexing awesome lists of open source software.

https://github.com/ymc-github/sh-lib-var-fun

some function for handle var for ymc shell lib
https://github.com/ymc-github/sh-lib-var-fun

fun sh-lib var ymc

Last synced: 3 months ago
JSON representation

some function for handle var for ymc shell lib

Awesome Lists containing this project

README

        

# sh lib var-fun

## desc

some function for handle var for ymc shell lib

## apis

- [x] var_has
- [x] var_set
- [x] var_get
- [x] var_del

## feats

- [x] basic `curd` var

```sh
cat src/index.sh | grep "function " | sed "s/function */- [x] /g" | sed "s/() *{//g"
```

## how to use for poduction?

```sh
# get the code

# run the index file
# ./src/index.sh

# or import to your sh file
# source /path/to/the/index file

# simple usage
var_has "ymc"
var_set "ymc"
var_del "ymc"
```

## how to use for developer?

```sh
# get the code

# run test
./src/test.sh
#2 get some fail test
#./test.sh | grep "it is false"
```

## author

yemiancheng

## license

MIT