Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加清理动作指令 #206

Closed
heimanba opened this issue Sep 26, 2021 · 5 comments
Closed

增加清理动作指令 #206

heimanba opened this issue Sep 26, 2021 · 5 comments
Assignees

Comments

@heimanba
Copy link
Member

s clean => 等于删除 cache

s clean --component devsapp/fc 删除fc组件 (参数必填)
s clean --cache core 删除cache下面的的某个文件(参数必填)

@heimanba
Copy link
Member Author

兼容下 github源

@heimanba
Copy link
Member Author

出错提示的时候

You can Run 's clean' to prune Serverless devs
And Run again with the '--debug' option or 's -h' to get more logs.

@heimanba heimanba self-assigned this Sep 26, 2021
@heimanba
Copy link
Member Author

s clean --all (删除 除了 access.yaml 的所有文件)

@heimanba
Copy link
Member Author

s clean 直接使用报错,参数必填

@xsahxl
Copy link
Collaborator

xsahxl commented Sep 28, 2021

综述:

  • s clean 与 s clean -h行为一致
  • s clean --all 删除~/.s下的所有文件(除了access.yaml和set-config.yml两个文件)
  • s clean --component devsapp/fc 删除fc组件 (参数选填)
  • s clean --cache core 删除cache下面的的某个文件(参数选填)

xsahxl added a commit that referenced this issue Sep 28, 2021
xsahxl added a commit that referenced this issue Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants