This is an automated email from the ASF dual-hosted git repository. msciabarra pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/openserverless-cli.git
commit 2299ba37a57be992d498882b1f60b55439d8cf50 Merge: 2d98437 6e0e0da Author: Michele Sciabarra <[email protected]> AuthorDate: Sat Aug 31 14:35:59 2024 +0200 Merge pull request #7 from d4rkstar/main Refactor the tool help system inside the cli main.go | 2 +- prepare_test.go | 1 - tests/datefmt.bats | 7 +-- tests/echoif.bats | 18 +++++--- tests/extract.bats | 18 ++------ tests/filetype.bats | 6 ++- tests/needupdate.bats | 6 ++- tests/random.bats | 4 +- tests/retry.bats | 6 +-- tests/{retry.bats => urlenc.bats} | 44 ++++++++---------- tests/utils.bats | 28 ++++++++---- tests/validate.bats | 8 ++-- tools/base64.go | 5 +-- tools/base64.md | 33 ++++++++------ tools/datefmt.go | 9 ++-- tools/datefmt.md | 10 ++--- tools/echo.go | 13 ++---- tools/echoif.md | 20 +++++++++ tools/echoifempty.md | 12 +++++ tools/echoifexists.md | 12 +++++ tools/empty.go | 2 +- tools/empty.md | 6 +++ tools/executable.go | 4 +- tools/executable.md | 12 +++++ tools/extract.go | 3 +- tools/extract.md | 14 ++++++ tools/filetype.go | 6 +-- tools/filetype.md | 27 +++++++++++ tools/needupdate.go | 9 +--- tools/needupdate.md | 39 ++++++++++++++++ tools/random.go | 11 +---- tools/random.md | 40 +++++++++++++++++ tools/remove.go | 2 +- tools/remove.md | 7 +++ tools/rename.go | 2 +- tools/rename.md | 6 +++ tools/render_test.go | 13 +++--- tools/retry.go | 9 +--- tools/retry.md | 21 +++++++++ tools/sh.go | 2 +- tools/sh.md | 11 +++++ tools/tools.go | 94 ++++++++++++++++++++++++++++----------- tools/tools_test.go | 36 +++++++++++++++ tools/urlenc.go | 25 ++++++++--- tools/urlenc.md | 26 +++++++++++ tools/validate.go | 15 +++---- tools/validate.md | 34 ++++++++++++++ 47 files changed, 542 insertions(+), 196 deletions(-)
