github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+incompatible/command/common/internal/help_all_display.go (about)

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