Compare commits
1 Commits
v0.2.22
...
20de1fd3d6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20de1fd3d6 |
@@ -387,6 +387,29 @@ cmd_start() {
|
|||||||
echo "Worktree: $worktree_path"
|
echo "Worktree: $worktree_path"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_debug_mode() {
|
||||||
|
local filtered_args=()
|
||||||
|
local debug_mode=false
|
||||||
|
|
||||||
|
for arg in "$@"; do
|
||||||
|
case "$arg" in
|
||||||
|
--debug)
|
||||||
|
debug_mode=true
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
filtered_args+=("$arg")
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ "$debug_mode" = true ]; then
|
||||||
|
export KUGETSU_VERBOSITY="debug"
|
||||||
|
echo "[DEBUG] Debug mode enabled" >&2
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "${filtered_args[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
cmd_continue() {
|
cmd_continue() {
|
||||||
local session_name=""
|
local session_name=""
|
||||||
local message=""
|
local message=""
|
||||||
|
|||||||
Reference in New Issue
Block a user