Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

feat: remove #2

Merged
merged 1 commit into from
Jul 12, 2021
Merged

feat: remove #2

merged 1 commit into from
Jul 12, 2021

Conversation

wss-git
Copy link
Member

@wss-git wss-git commented Jul 9, 2021

删除逻辑变更:

  • 如果删除单个触发器:s remove trigger --triger-name
  • 如果指定了 only-local,那么不和远端交互,仅删除传入配置【权重大于 y/assume-yes】
  • 如果指定了 y/assume-yes,那么就强制删除线上所有配置,为防止没有权限查询线上所有,并尝试删除传入的配置
  • 如果没有指定 only-local、y/assume-yes,那么拿远端资源和传入配置做对比,如果远端存在传入配置没有的资源,则提示是否删除额外的所有此项子资源
    • 如果选择 yes,行为类同 y/assume-yes
    • 如果选择 no,行为类同 only-local

@wss-git wss-git force-pushed the wss/remove branch 3 times, most recently from 1f36481 to 6e52c51 Compare July 12, 2021 04:06
@wss-git wss-git merged commit fbd1d9d into master Jul 12, 2021
@anycodes anycodes deleted the wss/remove branch July 12, 2021 09:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant