Skip to content

YMC-GitHub/sh-lib-var-fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sh lib var-fun

desc

some function for handle var for ymc shell lib

apis

  • var_has
  • var_set
  • var_get
  • var_del

feats

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

how to use for poduction?

# 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?

# get the code

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

author

yemiancheng ymc.github@gmail.com

license

MIT

About

some function for handle var for ymc shell lib

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages