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
refactor: refactor prompt handling logic and improve code clarity
- Add detailed comments explaining the `promptCmd` command functionality
- Refactor the conditional check for `loadPromptData` to return early if not set
- Replace variable `change` with `confirm` for clarity
- Extract the prompt data saving logic into a new function `savePromptData`
Signed-off-by: Bo-Yi Wu <[email protected]>
0 commit comments