github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/command/common/internal/help_all_display_v7.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", "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-brokers", "create-service-broker", "update-service-broker", "delete-service-broker", "rename-service-broker"}, 107 {"purge-service-offering", "purge-service-instance"}, 108 {"service-access", "enable-service-access", "disable-service-access"}, 109 }, 110 }, 111 { 112 CategoryName: "SECURITY GROUP:", 113 CommandList: [][]string{ 114 {"security-group", "security-groups", "create-security-group", "update-security-group", "delete-security-group", "bind-security-group", "unbind-security-group"}, 115 {"bind-staging-security-group", "staging-security-groups", "unbind-staging-security-group"}, 116 {"bind-running-security-group", "running-security-groups", "unbind-running-security-group"}, 117 }, 118 }, 119 { 120 CategoryName: "ENVIRONMENT VARIABLE GROUPS:", 121 CommandList: [][]string{ 122 {"running-environment-variable-group", "staging-environment-variable-group", "set-staging-environment-variable-group", "set-running-environment-variable-group"}, 123 }, 124 }, 125 { 126 CategoryName: "ISOLATION SEGMENTS:", 127 CommandList: [][]string{ 128 {"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"}, 129 }, 130 }, 131 { 132 CategoryName: "FEATURE FLAGS:", 133 CommandList: [][]string{ 134 {"feature-flags", "feature-flag", "enable-feature-flag", "disable-feature-flag"}, 135 }, 136 }, 137 { 138 CategoryName: "ADVANCED:", 139 CommandList: [][]string{ 140 {"curl", "config", "oauth-token", "ssh-code"}, 141 }, 142 }, 143 { 144 CategoryName: "ADD/REMOVE PLUGIN REPOSITORY:", 145 CommandList: [][]string{ 146 {"add-plugin-repo", "remove-plugin-repo", "list-plugin-repos", "repo-plugins"}, 147 }, 148 }, 149 { 150 CategoryName: "ADD/REMOVE PLUGIN:", 151 CommandList: [][]string{ 152 {"plugins", "install-plugin", "uninstall-plugin"}, 153 }, 154 }, 155 } 156 157 var ExperimentalHelpCategoryList = []HelpCategory{ 158 { 159 CategoryName: "APPS (experimental):", 160 CommandList: [][]string{ 161 {"v3-apps", "v3-create-app"}, 162 {"v3-start", "v3-stop", "v3-restart", "v3-stage", "v3-restart-app-instance", "v3-apply-manifest"}, 163 {"v3-droplets", "v3-set-droplet"}, 164 {"v3-packages", "v3-create-package"}, 165 }, 166 }, 167 }