Compare commits

..

2 Commits
1.2 ... master

Author SHA1 Message Date
a-Sansara
bc80a3cc40 amend param in echo.app 2019-11-22 15:43:56 +01:00
a-sansara
0a311c74ae update boot with bes.reg 2019-11-22 15:43:56 +01:00
2 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,7 @@
[project] [project]
vendor = bes vendor = bes
name = echo name = echo
version = 1.2 version = 1.4
license = "GNU GPL v3" license = "GNU GPL v3"
author = a-Sansara author = a-Sansara
type = library type = library
@ -10,4 +10,4 @@ description = "bash bes display utility library"
keywords = "bash, bes" keywords = "bash, bes"
[require] [require]
bes.color = 1.1 bes.color = 1.3

View File

@ -83,7 +83,7 @@ function echo.app ()
local msg=${1:-''} local msg=${1:-''}
local version=${2:-''} local version=${2:-''}
local author=${3:-'a-Sansara'} local author=${3:-'a-Sansara'}
local license=${3:-'GNU GPL v3'} local license=${4:-'GNU GPL v3'}
if [ ! -z "$2" ]; then if [ ! -z "$2" ]; then
msg="$msg ${Cval}v$version" msg="$msg ${Cval}v$version"
fi fi
@ -95,4 +95,7 @@ function echo.app ()
echo.sepline echo.sepline
} }
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bes.echo.boot declare -f bes.reg > /dev/null
if [ $? -eq 0 ]; then
bes.reg bes.echo
fi