Skip to content

YMC-GitHub/sh-lib-load-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sh lib load lib

desc

some function to load lib for ymc shell lib

deps

test

  • sh-lib-path-resolve
  • sh-lib-test
  • sh-lib-time-cost
  • sh-lib-project-dir-map

prod

  • xxx

apis

  • lib_ini
  • lib_has
  • lib_load
  • lib_require
  • lib_check
cat src/index.sh |  grep "function " | sed "s/function */- [x] /g"  | sed "s/(.*) *{//g"

feats

  • basic curd load lib

usage

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
lib_load "${THIS_FILE_PATH}/sh-lib-hi.sh"
hi "how are you"

how to use for developer?

# get the code

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

author

yemiancheng ymc.github@gmail.com

license

MIT

About

some function to load lib for ymc shell lib

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages