Skip to content

cli function list #346

Open
Open
@chendelin1982

Description

@chendelin1982

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions