github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/command/common/internal/help_all_display_v6.go (about) 1 // +build !V7 2 3 package internal 4 5 var HelpCategoryList = []HelpCategory{ 6 { 7 CategoryName: "GETTING STARTED:", 8 CommandList: [][]string{ 9 {"help", "version", "login", "logout", "passwd", "target"}, 10 {"api", "auth"}, 11 }, 12 }, 13 { 14 CategoryName: "APPS:", 15 CommandList: [][]string{ 16 {"apps", "app"}, 17 {"push", "scale", "delete", "rename"}, 18 {"start", "stop", "restart", "restage", "restart-app-instance"}, 19 {"run-task", "tasks", "terminate-task"}, 20 {"events", "files", "logs"}, 21 {"env", "set-env", "unset-env"}, 22 {"stacks", "stack"}, 23 {"copy-source", "create-app-manifest"}, 24 {"get-health-check", "set-health-check", "enable-ssh", "disable-ssh", "ssh-enabled", "ssh"}, 25 }, 26 }, 27 { 28 CategoryName: "SERVICES:", 29 CommandList: [][]string{ 30 {"marketplace", "services", "service"}, 31 {"create-service", "update-service", "delete-service", "rename-service"}, 32 {"create-service-key", "service-keys", "service-key", "delete-service-key"}, 33 {"bind-service", "unbind-service"}, 34 {"bind-route-service", "unbind-route-service"}, 35 {"create-user-provided-service", "update-user-provided-service"}, 36 {"share-service", "unshare-service"}, 37 }, 38 }, 39 { 40 CategoryName: "ORGS:", 41 CommandList: [][]string{ 42 {"orgs", "org"}, 43 {"create-org", "delete-org", "rename-org"}, 44 }, 45 }, 46 { 47 CategoryName: "SPACES:", 48 CommandList: [][]string{ 49 {"spaces", "space"}, 50 {"create-space", "delete-space", "rename-space"}, 51 {"allow-space-ssh", "disallow-space-ssh", "space-ssh-allowed"}, 52 }, 53 }, 54 { 55 CategoryName: "DOMAINS:", 56 CommandList: [][]string{ 57 {"domains", "create-domain", "delete-domain", "create-shared-domain", "delete-shared-domain"}, 58 {"router-groups"}, 59 }, 60 }, 61 { 62 CategoryName: "ROUTES:", 63 CommandList: [][]string{ 64 {"routes", "create-route", "check-route", "map-route", "unmap-route", "delete-route", "delete-orphaned-routes"}, 65 }, 66 }, 67 { 68 CategoryName: "NETWORK POLICIES:", 69 CommandList: [][]string{ 70 {"network-policies", "add-network-policy", "remove-network-policy"}, 71 }, 72 }, 73 { 74 CategoryName: "BUILDPACKS:", 75 CommandList: [][]string{ 76 {"buildpacks", "create-buildpack", "update-buildpack", "rename-buildpack", "delete-buildpack"}, 77 }, 78 }, 79 { 80 CategoryName: "USER ADMIN:", 81 CommandList: [][]string{ 82 {"create-user", "delete-user"}, 83 {"org-users", "set-org-role", "unset-org-role"}, 84 {"space-users", "set-space-role", "unset-space-role"}, 85 }, 86 }, 87 { 88 CategoryName: "ORG ADMIN:", 89 CommandList: [][]string{ 90 {"quotas", "quota", "set-quota"}, 91 {"create-quota", "delete-quota", "update-quota"}, 92 {"share-private-domain", "unshare-private-domain"}, 93 }, 94 }, 95 { 96 CategoryName: "SPACE ADMIN:", 97 CommandList: [][]string{ 98 {"space-quotas", "space-quota"}, 99 {"create-space-quota", "update-space-quota", "delete-space-quota"}, 100 {"set-space-quota", "unset-space-quota"}, 101 }, 102 }, 103 { 104 CategoryName: "SERVICE ADMIN:", 105 CommandList: [][]string{ 106 {"service-auth-tokens", "create-service-auth-token", "update-service-auth-token", "delete-service-auth-token"}, 107 {"service-brokers", "create-service-broker", "update-service-broker", "delete-service-broker", "rename-service-broker"}, 108 {"migrate-service-instances", "purge-service-offering", "purge-service-instance"}, 109 {"service-access", "enable-service-access", "disable-service-access"}, 110 }, 111 }, 112 { 113 CategoryName: "SECURITY GROUP:", 114 CommandList: [][]string{ 115 {"security-group", "security-groups", "create-security-group", "update-security-group", "delete-security-group", "bind-security-group", "unbind-security-group"}, 116 {"bind-staging-security-group", "staging-security-groups", "unbind-staging-security-group"}, 117 {"bind-running-security-group", "running-security-groups", "unbind-running-security-group"}, 118 }, 119 }, 120 { 121 CategoryName: "ENVIRONMENT VARIABLE GROUPS:", 122 CommandList: [][]string{ 123 {"running-environment-variable-group", "staging-environment-variable-group", "set-staging-environment-variable-group", "set-running-environment-variable-group"}, 124 }, 125 }, 126 { 127 CategoryName: "ISOLATION SEGMENTS:", 128 CommandList: [][]string{ 129 {"isolation-segments", "create-isolation-segment", "delete-isolation-segment", "enable-org-isolation", "disable-org-isolation", "set-org-default-isolation-segment", "reset-org-default-isolation-segment", "set-space-isolation-segment", "reset-space-isolation-segment"}, 130 }, 131 }, 132 { 133 CategoryName: "FEATURE FLAGS:", 134 CommandList: [][]string{ 135 {"feature-flags", "feature-flag", "enable-feature-flag", "disable-feature-flag"}, 136 }, 137 }, 138 { 139 CategoryName: "ADVANCED:", 140 CommandList: [][]string{ 141 {"curl", "config", "oauth-token", "ssh-code"}, 142 }, 143 }, 144 { 145 CategoryName: "ADD/REMOVE PLUGIN REPOSITORY:", 146 CommandList: [][]string{ 147 {"add-plugin-repo", "remove-plugin-repo", "list-plugin-repos", "repo-plugins"}, 148 }, 149 }, 150 { 151 CategoryName: "ADD/REMOVE PLUGIN:", 152 CommandList: [][]string{ 153 {"plugins", "install-plugin", "uninstall-plugin"}, 154 }, 155 }, 156 } 157 158 var ExperimentalHelpCategoryList = []HelpCategory{ 159 { 160 CategoryName: "APPS (experimental):", 161 CommandList: [][]string{ 162 {"v3-apps", "v3-create-app"}, 163 {"v3-push", "v3-scale", "v3-delete"}, 164 {"v3-start", "v3-stop", "v3-restart", "v3-stage", "v3-restart-app-instance", "v3-apply-manifest"}, 165 {"v3-droplets", "v3-set-droplet"}, 166 {"v3-env", "v3-set-env", "v3-unset-env"}, 167 {"v3-get-health-check", "v3-set-health-check"}, 168 {"v3-packages", "v3-create-package"}, 169 {"v3-ssh"}, 170 }, 171 }, 172 }