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

cli function list #346

Open
6 tasks
chendelin1982 opened this issue Oct 8, 2023 · 0 comments
Open
6 tasks

cli function list #346

chendelin1982 opened this issue Oct 8, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request PRD

Comments

@chendelin1982
Copy link
Contributor

chendelin1982 commented Oct 8, 2023

What type of your feature request?

W9 CLI PRD

Usage:  w9 [OPTIONS] COMMAND sub-COMMAND

Common Commands
  version       查询 websoft9 版本
  repair        修复 websoft9
                            cockpit端口
			    override.json
			    firewalld
			    restart docker
			    删除所有未使用volumes				 
  clean         清空 websoft9 使用过程中不需要的残留资源
  upgrade       检查并更新 [core|plugin], --check 只检查
  uninstall     删除 Websoft9 所有服务以及组件,除了 Docker 以及 Docker 应用之外
  environments  list all Environments
  apikey        生产以及管理 AppManage keys
  panel         关闭或者开启cockpit面板
  domain        配置全局域名
  
App Commands:
  install     安装应用
  ls          List 应用列表 [app_id, app_name, status, time, endpointId]
  inspect     显示 APP 详细信息
  start       启动一个停止的应用
  stop        停止一个运行中的应用
  restart     重启应用
  redeploy    重建应用(包含更新镜像后重建)
  delete      删除应用
  pull        拉取app镜像[appimage,tag]

Global Options:
  -c, --context string     
  -D, --debug              Enable debug mode
  -e, --environment        which environment you used

Run 'w9 COMMAND --help' for more information on a command.

repair

  • delete all *.override.json file which will make root can not login
  • cockpit port
  • firewalld make docker container can not start or network can not create
  • clear all unused volumes
  • fix portainer endpoint for stacks
  • disable/enable Websoft9
@chendelin1982 chendelin1982 added enhancement New feature or request PRD labels Oct 8, 2023
@chendelin1982 chendelin1982 self-assigned this Oct 8, 2023
@chendelin1982 chendelin1982 pinned this issue Nov 29, 2023
@chendelin1982 chendelin1982 changed the title cli repair function list cli function list Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PRD
Projects
None yet
Development

No branches or pull requests

1 participant