Skip to content

Commit

Permalink
refactor(ydf): comment events
Browse files Browse the repository at this point in the history
  • Loading branch information
yunielrc committed Oct 8, 2023
1 parent 178a272 commit 64e6b2f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

**_New member on the team?, reproduce your colleague working environment and start working now_**

**_And the most important, this is a democratic project not a dictatorship, so you have the freedom to join to it and build the new features you need for the benefit of everyone_**
**_You have the freedom to join to this project and build the new features you need_**

</div>

Expand Down
2 changes: 1 addition & 1 deletion README.md.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

**_New member on the team?, reproduce your colleague working environment and start working now_**

**_And the most important, this is a democratic project not a dictatorship, so you have the freedom to join to it and build the new features you need for the benefit of everyone_**
**_You have the freedom to join to this project and build the new features you need_**

</div>

Expand Down
24 changes: 17 additions & 7 deletions src/usr/bin/ydf
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ ydf::__source_files() {
for f in "${__YDF_COMPONENTS_DIR}/"*/*.bash; do source "$f"; done
}

# INITALIZE COMPONENTS
ydf::__init_components() {
ydf::utils::constructor "$_YDF_UTILS_NO_MSG"

Expand All @@ -88,7 +89,6 @@ ydf::__init_components() {
"$_YDF_YZSH_GEN_CONFIG_FILE" \
"$_YDF_PACKAGE_SERVICE_ENVSUBST_FILE" \
"$_YDF_PACKAGE_SERVICE_PACKAGES_DIR"

}

# FUNCTIONS
Expand All @@ -112,13 +112,13 @@ HELPMSG

# EVENTS

ydf::__on_start() {
:
}
# ydf::__on_start() {
# :
# }

ydf::__on_exit() {
:
}
# ydf::__on_exit() {
# :
# }

#

Expand All @@ -136,6 +136,16 @@ ydf::run_cmd() {
ydf::package_service::run_cmd "$@"
return $?
;;
# repo)
# shift
# ydf::repository_service::run_cmd "$@"
# return $?
# ;;
# config)
# shift
# ydf::config_service::run_cmd "$@"
# return $?
# ;;
*)
err "Invalid command: ${1}\n"
ydf::__help
Expand Down

0 comments on commit 64e6b2f

Please sign in to comment.