You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
#!/usr/bin/env bash# shellcheck source=/dev/nullsource<(curl -sL 'https://github.com/kc-workspace/kcs/main/start.sh')## Default tags @version, @setting, @main
_KCS_SCRIPT_ARGUMENTS=(
@version main # kcs version to set up (support main, latest, vx.x.x)
@setting CACHE true# set setting
@setting MODE main # support 'main' or 'command' mode
@setting NAME hello # set command name
@setting VERSION v1.0.0 # set command version
@load "$KCS_DEFAULT"# add plugins, logger, color, support
@main # executes _kcs_main_<setting.name> command on main action
@plugin.load hook # hook names: setup main cleanup post_cleanup finish
@hook.new "$KCS_DEFAULT"# add _kcs_hook_<hook-name>_<command-name>
@hook.new setup custom_name # add _kcs_hook_setup_custom_name function to setup hook
@plugin.load option
@option.load "$KCS_DEFAULT"
@option.load '-e,--example [str:hello]''EXAMPLE''show example message'
)
_KCS_SCRIPT_ARGUMENTS=(
@version main
@main
)
## _kcs_hook_<hook-name>_<command-name>_kcs_hook_main_hello() {
return 0
}
"$KCS_MAIN""$@"
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: