@bussolabs/closeyourit-cli 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2089,6 +2089,20 @@
2089
2089
  "hasDynamicHelp": false,
2090
2090
  "multiple": false,
2091
2091
  "type": "option"
2092
+ },
2093
+ "expected-body-keyword": {
2094
+ "description": "Keyword expected in the response body (check fails without it; not with HEAD)",
2095
+ "name": "expected-body-keyword",
2096
+ "hasDynamicHelp": false,
2097
+ "multiple": false,
2098
+ "type": "option"
2099
+ },
2100
+ "ssl-expiry-warn-days": {
2101
+ "description": "Alert when the TLS certificate has at most N days left (empty = off)",
2102
+ "name": "ssl-expiry-warn-days",
2103
+ "hasDynamicHelp": false,
2104
+ "multiple": false,
2105
+ "type": "option"
2092
2106
  }
2093
2107
  },
2094
2108
  "hasDynamicHelp": false,
@@ -2416,6 +2430,20 @@
2416
2430
  "hasDynamicHelp": false,
2417
2431
  "multiple": false,
2418
2432
  "type": "option"
2433
+ },
2434
+ "expected-body-keyword": {
2435
+ "description": "Keyword expected in the response body (check fails without it; not with HEAD)",
2436
+ "name": "expected-body-keyword",
2437
+ "hasDynamicHelp": false,
2438
+ "multiple": false,
2439
+ "type": "option"
2440
+ },
2441
+ "ssl-expiry-warn-days": {
2442
+ "description": "Alert when the TLS certificate has at most N days left (empty = off)",
2443
+ "name": "ssl-expiry-warn-days",
2444
+ "hasDynamicHelp": false,
2445
+ "multiple": false,
2446
+ "type": "option"
2419
2447
  }
2420
2448
  },
2421
2449
  "hasDynamicHelp": false,
@@ -2434,6 +2462,98 @@
2434
2462
  "update.js"
2435
2463
  ]
2436
2464
  },
2465
+ "org:show": {
2466
+ "aliases": [],
2467
+ "args": {},
2468
+ "description": "Show your organization settings",
2469
+ "examples": [
2470
+ "<%= config.bin %> org show",
2471
+ "<%= config.bin %> org show --json"
2472
+ ],
2473
+ "flags": {
2474
+ "json": {
2475
+ "description": "Format output as json.",
2476
+ "helpGroup": "GLOBAL",
2477
+ "name": "json",
2478
+ "allowNo": false,
2479
+ "type": "boolean"
2480
+ }
2481
+ },
2482
+ "hasDynamicHelp": false,
2483
+ "hiddenAliases": [],
2484
+ "id": "org:show",
2485
+ "pluginAlias": "@bussolabs/closeyourit-cli",
2486
+ "pluginName": "@bussolabs/closeyourit-cli",
2487
+ "pluginType": "core",
2488
+ "strict": true,
2489
+ "enableJsonFlag": true,
2490
+ "isESM": false,
2491
+ "relativePath": [
2492
+ "dist",
2493
+ "commands",
2494
+ "org",
2495
+ "show.js"
2496
+ ]
2497
+ },
2498
+ "org:update": {
2499
+ "aliases": [],
2500
+ "args": {},
2501
+ "description": "Update your organization settings (requires organization.manage)",
2502
+ "examples": [
2503
+ "<%= config.bin %> org update --name \"Acme Inc\"",
2504
+ "<%= config.bin %> org update --slug acme-inc",
2505
+ "<%= config.bin %> org update --projects-view table"
2506
+ ],
2507
+ "flags": {
2508
+ "json": {
2509
+ "description": "Format output as json.",
2510
+ "helpGroup": "GLOBAL",
2511
+ "name": "json",
2512
+ "allowNo": false,
2513
+ "type": "boolean"
2514
+ },
2515
+ "name": {
2516
+ "description": "New organization name",
2517
+ "name": "name",
2518
+ "hasDynamicHelp": false,
2519
+ "multiple": false,
2520
+ "type": "option"
2521
+ },
2522
+ "slug": {
2523
+ "description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
2524
+ "name": "slug",
2525
+ "hasDynamicHelp": false,
2526
+ "multiple": false,
2527
+ "type": "option"
2528
+ },
2529
+ "projects-view": {
2530
+ "description": "Default projects list view",
2531
+ "name": "projects-view",
2532
+ "hasDynamicHelp": false,
2533
+ "multiple": false,
2534
+ "options": [
2535
+ "cards",
2536
+ "table"
2537
+ ],
2538
+ "type": "option"
2539
+ }
2540
+ },
2541
+ "hasDynamicHelp": false,
2542
+ "hiddenAliases": [],
2543
+ "id": "org:update",
2544
+ "pluginAlias": "@bussolabs/closeyourit-cli",
2545
+ "pluginName": "@bussolabs/closeyourit-cli",
2546
+ "pluginType": "core",
2547
+ "strict": true,
2548
+ "enableJsonFlag": true,
2549
+ "isESM": false,
2550
+ "relativePath": [
2551
+ "dist",
2552
+ "commands",
2553
+ "org",
2554
+ "update.js"
2555
+ ]
2556
+ },
2437
2557
  "platforms:create": {
2438
2558
  "aliases": [],
2439
2559
  "args": {
@@ -2661,20 +2781,18 @@
2661
2781
  "update.js"
2662
2782
  ]
2663
2783
  },
2664
- "projects:create": {
2784
+ "roles:create": {
2665
2785
  "aliases": [],
2666
2786
  "args": {
2667
2787
  "name": {
2668
- "description": "Project name",
2788
+ "description": "Role name",
2669
2789
  "name": "name",
2670
2790
  "required": true
2671
2791
  }
2672
2792
  },
2673
- "description": "Create a project (optionally inside a group)",
2793
+ "description": "Create an RBAC role (a named bundle of permission keys)",
2674
2794
  "examples": [
2675
- "<%= config.bin %> projects create driverone-rails --key DRRA",
2676
- "<%= config.bin %> projects create driverone-rails --group DriverOne --key DRRA",
2677
- "<%= config.bin %> projects create driverone-flutter -g <group-uuid> -k DRFL"
2795
+ "<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
2678
2796
  ],
2679
2797
  "flags": {
2680
2798
  "json": {
@@ -2691,34 +2809,17 @@
2691
2809
  "multiple": false,
2692
2810
  "type": "option"
2693
2811
  },
2694
- "description": {
2695
- "description": "Free-form description",
2696
- "name": "description",
2697
- "hasDynamicHelp": false,
2698
- "multiple": false,
2699
- "type": "option"
2700
- },
2701
- "group": {
2702
- "char": "g",
2703
- "description": "Group id (UUID) or name to place the project in",
2704
- "name": "group",
2705
- "hasDynamicHelp": false,
2706
- "multiple": false,
2707
- "type": "option"
2708
- },
2709
- "key": {
2710
- "char": "k",
2711
- "description": "Project key (uppercase A-Z0-9, max 4 chars, unique per org)",
2712
- "name": "key",
2713
- "required": true,
2812
+ "permission": {
2813
+ "description": "Permission key from the catalog (repeatable)",
2814
+ "name": "permission",
2714
2815
  "hasDynamicHelp": false,
2715
- "multiple": false,
2816
+ "multiple": true,
2716
2817
  "type": "option"
2717
2818
  }
2718
2819
  },
2719
2820
  "hasDynamicHelp": false,
2720
2821
  "hiddenAliases": [],
2721
- "id": "projects:create",
2822
+ "id": "roles:create",
2722
2823
  "pluginAlias": "@bussolabs/closeyourit-cli",
2723
2824
  "pluginName": "@bussolabs/closeyourit-cli",
2724
2825
  "pluginType": "core",
@@ -2728,16 +2829,22 @@
2728
2829
  "relativePath": [
2729
2830
  "dist",
2730
2831
  "commands",
2731
- "projects",
2832
+ "roles",
2732
2833
  "create.js"
2733
2834
  ]
2734
2835
  },
2735
- "projects:delete": {
2836
+ "roles:delete": {
2736
2837
  "aliases": [],
2737
- "args": {},
2738
- "description": "Delete a project (irreversible)",
2838
+ "args": {
2839
+ "role": {
2840
+ "description": "Role id (UUID) or name",
2841
+ "name": "role",
2842
+ "required": true
2843
+ }
2844
+ },
2845
+ "description": "Delete a role (its assignments to teams and accounts are removed)",
2739
2846
  "examples": [
2740
- "<%= config.bin %> projects delete --project LBRA --confirm"
2847
+ "<%= config.bin %> roles delete Client"
2741
2848
  ],
2742
2849
  "flags": {
2743
2850
  "json": {
@@ -2746,26 +2853,11 @@
2746
2853
  "name": "json",
2747
2854
  "allowNo": false,
2748
2855
  "type": "boolean"
2749
- },
2750
- "project": {
2751
- "char": "p",
2752
- "description": "Project id (UUID) or key",
2753
- "name": "project",
2754
- "required": true,
2755
- "hasDynamicHelp": false,
2756
- "multiple": false,
2757
- "type": "option"
2758
- },
2759
- "confirm": {
2760
- "description": "Required: confirm the irreversible deletion",
2761
- "name": "confirm",
2762
- "allowNo": false,
2763
- "type": "boolean"
2764
2856
  }
2765
2857
  },
2766
2858
  "hasDynamicHelp": false,
2767
2859
  "hiddenAliases": [],
2768
- "id": "projects:delete",
2860
+ "id": "roles:delete",
2769
2861
  "pluginAlias": "@bussolabs/closeyourit-cli",
2770
2862
  "pluginName": "@bussolabs/closeyourit-cli",
2771
2863
  "pluginType": "core",
@@ -2775,17 +2867,17 @@
2775
2867
  "relativePath": [
2776
2868
  "dist",
2777
2869
  "commands",
2778
- "projects",
2870
+ "roles",
2779
2871
  "delete.js"
2780
2872
  ]
2781
2873
  },
2782
- "projects:list": {
2874
+ "roles:list": {
2783
2875
  "aliases": [],
2784
2876
  "args": {},
2785
- "description": "List the projects visible to you",
2877
+ "description": "List the RBAC roles in your organization",
2786
2878
  "examples": [
2787
- "<%= config.bin %> projects list",
2788
- "<%= config.bin %> projects list --page 2 --json"
2879
+ "<%= config.bin %> roles list",
2880
+ "<%= config.bin %> roles list --json"
2789
2881
  ],
2790
2882
  "flags": {
2791
2883
  "json": {
@@ -2806,7 +2898,7 @@
2806
2898
  },
2807
2899
  "hasDynamicHelp": false,
2808
2900
  "hiddenAliases": [],
2809
- "id": "projects:list",
2901
+ "id": "roles:list",
2810
2902
  "pluginAlias": "@bussolabs/closeyourit-cli",
2811
2903
  "pluginName": "@bussolabs/closeyourit-cli",
2812
2904
  "pluginType": "core",
@@ -2816,17 +2908,22 @@
2816
2908
  "relativePath": [
2817
2909
  "dist",
2818
2910
  "commands",
2819
- "projects",
2911
+ "roles",
2820
2912
  "list.js"
2821
2913
  ]
2822
2914
  },
2823
- "projects:set-environments": {
2915
+ "roles:show": {
2824
2916
  "aliases": [],
2825
- "args": {},
2826
- "description": "Declare the environments a project receives data from (replaces the current set)",
2917
+ "args": {
2918
+ "role": {
2919
+ "description": "Role id (UUID) or name",
2920
+ "name": "role",
2921
+ "required": true
2922
+ }
2923
+ },
2924
+ "description": "Show a role by id or name (with its permission keys)",
2827
2925
  "examples": [
2828
- "<%= config.bin %> projects set-environments --project legalbloom-rails --code production",
2829
- "<%= config.bin %> projects set-environments -p LBRA --code production --code staging"
2926
+ "<%= config.bin %> roles show Client"
2830
2927
  ],
2831
2928
  "flags": {
2832
2929
  "json": {
@@ -2835,36 +2932,11 @@
2835
2932
  "name": "json",
2836
2933
  "allowNo": false,
2837
2934
  "type": "boolean"
2838
- },
2839
- "project": {
2840
- "char": "p",
2841
- "description": "Project id (UUID) or key",
2842
- "name": "project",
2843
- "required": true,
2844
- "hasDynamicHelp": false,
2845
- "multiple": false,
2846
- "type": "option"
2847
- },
2848
- "code": {
2849
- "description": "Environment code, e.g. production (repeatable)",
2850
- "name": "code",
2851
- "default": [],
2852
- "hasDynamicHelp": false,
2853
- "multiple": true,
2854
- "type": "option"
2855
- },
2856
- "environment-id": {
2857
- "description": "Environment id / UUID (repeatable)",
2858
- "name": "environment-id",
2859
- "default": [],
2860
- "hasDynamicHelp": false,
2861
- "multiple": true,
2862
- "type": "option"
2863
2935
  }
2864
2936
  },
2865
2937
  "hasDynamicHelp": false,
2866
2938
  "hiddenAliases": [],
2867
- "id": "projects:set-environments",
2939
+ "id": "roles:show",
2868
2940
  "pluginAlias": "@bussolabs/closeyourit-cli",
2869
2941
  "pluginName": "@bussolabs/closeyourit-cli",
2870
2942
  "pluginType": "core",
@@ -2874,56 +2946,23 @@
2874
2946
  "relativePath": [
2875
2947
  "dist",
2876
2948
  "commands",
2877
- "projects",
2878
- "set-environments.js"
2949
+ "roles",
2950
+ "show.js"
2879
2951
  ]
2880
2952
  },
2881
- "projects:show": {
2953
+ "roles:update": {
2882
2954
  "aliases": [],
2883
2955
  "args": {
2884
- "id": {
2885
- "description": "Project id (UUID) or key",
2886
- "name": "id",
2956
+ "role": {
2957
+ "description": "Role id (UUID) or name",
2958
+ "name": "role",
2887
2959
  "required": true
2888
2960
  }
2889
2961
  },
2890
- "description": "Show a single project by id or key",
2962
+ "description": "Update a role (rename, recolor, or replace its permission keys)",
2891
2963
  "examples": [
2892
- "<%= config.bin %> projects show acme-api",
2893
- "<%= config.bin %> projects show <uuid> --json"
2894
- ],
2895
- "flags": {
2896
- "json": {
2897
- "description": "Format output as json.",
2898
- "helpGroup": "GLOBAL",
2899
- "name": "json",
2900
- "allowNo": false,
2901
- "type": "boolean"
2902
- }
2903
- },
2904
- "hasDynamicHelp": false,
2905
- "hiddenAliases": [],
2906
- "id": "projects:show",
2907
- "pluginAlias": "@bussolabs/closeyourit-cli",
2908
- "pluginName": "@bussolabs/closeyourit-cli",
2909
- "pluginType": "core",
2910
- "strict": true,
2911
- "enableJsonFlag": true,
2912
- "isESM": false,
2913
- "relativePath": [
2914
- "dist",
2915
- "commands",
2916
- "projects",
2917
- "show.js"
2918
- ]
2919
- },
2920
- "projects:update": {
2921
- "aliases": [],
2922
- "args": {},
2923
- "description": "Update a project (name, key, color, description, group)",
2924
- "examples": [
2925
- "<%= config.bin %> projects update --project LBRA --name \"New name\"",
2926
- "<%= config.bin %> projects update -p LBRA --group Backend"
2964
+ "<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
2965
+ "<%= config.bin %> roles update Client --name \"Client manager\""
2927
2966
  ],
2928
2967
  "flags": {
2929
2968
  "json": {
@@ -2933,29 +2972,6 @@
2933
2972
  "allowNo": false,
2934
2973
  "type": "boolean"
2935
2974
  },
2936
- "project": {
2937
- "char": "p",
2938
- "description": "Project id (UUID) or key",
2939
- "name": "project",
2940
- "required": true,
2941
- "hasDynamicHelp": false,
2942
- "multiple": false,
2943
- "type": "option"
2944
- },
2945
- "name": {
2946
- "description": "New project name",
2947
- "name": "name",
2948
- "hasDynamicHelp": false,
2949
- "multiple": false,
2950
- "type": "option"
2951
- },
2952
- "key": {
2953
- "description": "New project key (uppercase A-Z0-9)",
2954
- "name": "key",
2955
- "hasDynamicHelp": false,
2956
- "multiple": false,
2957
- "type": "option"
2958
- },
2959
2975
  "color": {
2960
2976
  "description": "Color label",
2961
2977
  "name": "color",
@@ -2963,24 +2979,24 @@
2963
2979
  "multiple": false,
2964
2980
  "type": "option"
2965
2981
  },
2966
- "description": {
2967
- "description": "Free-form description",
2968
- "name": "description",
2982
+ "name": {
2983
+ "description": "New name",
2984
+ "name": "name",
2969
2985
  "hasDynamicHelp": false,
2970
2986
  "multiple": false,
2971
2987
  "type": "option"
2972
2988
  },
2973
- "group": {
2974
- "description": "Group id (UUID) or name to move the project into",
2975
- "name": "group",
2989
+ "permission": {
2990
+ "description": "Permission key (repeatable); when given, REPLACES the whole set",
2991
+ "name": "permission",
2976
2992
  "hasDynamicHelp": false,
2977
- "multiple": false,
2993
+ "multiple": true,
2978
2994
  "type": "option"
2979
2995
  }
2980
2996
  },
2981
2997
  "hasDynamicHelp": false,
2982
2998
  "hiddenAliases": [],
2983
- "id": "projects:update",
2999
+ "id": "roles:update",
2984
3000
  "pluginAlias": "@bussolabs/closeyourit-cli",
2985
3001
  "pluginName": "@bussolabs/closeyourit-cli",
2986
3002
  "pluginType": "core",
@@ -2990,27 +3006,24 @@
2990
3006
  "relativePath": [
2991
3007
  "dist",
2992
3008
  "commands",
2993
- "projects",
3009
+ "roles",
2994
3010
  "update.js"
2995
3011
  ]
2996
3012
  },
2997
- "teams:add-member": {
3013
+ "projects:create": {
2998
3014
  "aliases": [],
2999
3015
  "args": {
3000
- "team": {
3001
- "description": "Team id (UUID) or name",
3002
- "name": "team",
3003
- "required": true
3004
- },
3005
- "member": {
3006
- "description": "Member account id or email (must be an org member)",
3007
- "name": "member",
3016
+ "name": {
3017
+ "description": "Project name",
3018
+ "name": "name",
3008
3019
  "required": true
3009
3020
  }
3010
3021
  },
3011
- "description": "Add a person to a team, keeping the existing members",
3022
+ "description": "Create a project (optionally inside a group)",
3012
3023
  "examples": [
3013
- "<%= config.bin %> teams add-member DriverOne client@acme.com"
3024
+ "<%= config.bin %> projects create driverone-rails --key DRRA",
3025
+ "<%= config.bin %> projects create driverone-rails --group DriverOne --key DRRA",
3026
+ "<%= config.bin %> projects create driverone-flutter -g <group-uuid> -k DRFL"
3014
3027
  ],
3015
3028
  "flags": {
3016
3029
  "json": {
@@ -3019,11 +3032,42 @@
3019
3032
  "name": "json",
3020
3033
  "allowNo": false,
3021
3034
  "type": "boolean"
3035
+ },
3036
+ "color": {
3037
+ "description": "Color label",
3038
+ "name": "color",
3039
+ "hasDynamicHelp": false,
3040
+ "multiple": false,
3041
+ "type": "option"
3042
+ },
3043
+ "description": {
3044
+ "description": "Free-form description",
3045
+ "name": "description",
3046
+ "hasDynamicHelp": false,
3047
+ "multiple": false,
3048
+ "type": "option"
3049
+ },
3050
+ "group": {
3051
+ "char": "g",
3052
+ "description": "Group id (UUID) or name to place the project in",
3053
+ "name": "group",
3054
+ "hasDynamicHelp": false,
3055
+ "multiple": false,
3056
+ "type": "option"
3057
+ },
3058
+ "key": {
3059
+ "char": "k",
3060
+ "description": "Project key (uppercase A-Z0-9, max 4 chars, unique per org)",
3061
+ "name": "key",
3062
+ "required": true,
3063
+ "hasDynamicHelp": false,
3064
+ "multiple": false,
3065
+ "type": "option"
3022
3066
  }
3023
3067
  },
3024
3068
  "hasDynamicHelp": false,
3025
3069
  "hiddenAliases": [],
3026
- "id": "teams:add-member",
3070
+ "id": "projects:create",
3027
3071
  "pluginAlias": "@bussolabs/closeyourit-cli",
3028
3072
  "pluginName": "@bussolabs/closeyourit-cli",
3029
3073
  "pluginType": "core",
@@ -3033,23 +3077,16 @@
3033
3077
  "relativePath": [
3034
3078
  "dist",
3035
3079
  "commands",
3036
- "teams",
3037
- "add-member.js"
3080
+ "projects",
3081
+ "create.js"
3038
3082
  ]
3039
3083
  },
3040
- "teams:create": {
3084
+ "projects:delete": {
3041
3085
  "aliases": [],
3042
- "args": {
3043
- "name": {
3044
- "description": "Team name",
3045
- "name": "name",
3046
- "required": true
3047
- }
3048
- },
3049
- "description": "Create a team and (optionally) set its roles, group/project scope and members",
3086
+ "args": {},
3087
+ "description": "Delete a project (irreversible)",
3050
3088
  "examples": [
3051
- "<%= config.bin %> teams create DriverOne --role Client --group DriverOne",
3052
- "<%= config.bin %> teams create DriverOne --role Client --group DriverOne --member client@acme.com"
3089
+ "<%= config.bin %> projects delete --project LBRA --confirm"
3053
3090
  ],
3054
3091
  "flags": {
3055
3092
  "json": {
@@ -3059,45 +3096,25 @@
3059
3096
  "allowNo": false,
3060
3097
  "type": "boolean"
3061
3098
  },
3062
- "color": {
3063
- "description": "Color label",
3064
- "name": "color",
3065
- "hasDynamicHelp": false,
3066
- "multiple": false,
3067
- "type": "option"
3068
- },
3069
- "group": {
3070
- "description": "Group id or name to scope the team to (repeatable)",
3071
- "name": "group",
3072
- "hasDynamicHelp": false,
3073
- "multiple": true,
3074
- "type": "option"
3075
- },
3076
- "member": {
3077
- "description": "Member account id or email (repeatable; must be an org member)",
3078
- "name": "member",
3079
- "hasDynamicHelp": false,
3080
- "multiple": true,
3081
- "type": "option"
3082
- },
3083
3099
  "project": {
3084
- "description": "Project id or key to scope the team to (repeatable)",
3100
+ "char": "p",
3101
+ "description": "Project id (UUID) or key",
3085
3102
  "name": "project",
3103
+ "required": true,
3086
3104
  "hasDynamicHelp": false,
3087
- "multiple": true,
3105
+ "multiple": false,
3088
3106
  "type": "option"
3089
3107
  },
3090
- "role": {
3091
- "description": "Role id or name to grant to the team (repeatable)",
3092
- "name": "role",
3093
- "hasDynamicHelp": false,
3094
- "multiple": true,
3095
- "type": "option"
3108
+ "confirm": {
3109
+ "description": "Required: confirm the irreversible deletion",
3110
+ "name": "confirm",
3111
+ "allowNo": false,
3112
+ "type": "boolean"
3096
3113
  }
3097
3114
  },
3098
3115
  "hasDynamicHelp": false,
3099
3116
  "hiddenAliases": [],
3100
- "id": "teams:create",
3117
+ "id": "projects:delete",
3101
3118
  "pluginAlias": "@bussolabs/closeyourit-cli",
3102
3119
  "pluginName": "@bussolabs/closeyourit-cli",
3103
3120
  "pluginType": "core",
@@ -3107,22 +3124,17 @@
3107
3124
  "relativePath": [
3108
3125
  "dist",
3109
3126
  "commands",
3110
- "teams",
3111
- "create.js"
3127
+ "projects",
3128
+ "delete.js"
3112
3129
  ]
3113
3130
  },
3114
- "teams:delete": {
3131
+ "projects:list": {
3115
3132
  "aliases": [],
3116
- "args": {
3117
- "team": {
3118
- "description": "Team id (UUID) or name",
3119
- "name": "team",
3120
- "required": true
3121
- }
3122
- },
3123
- "description": "Delete a team (its members lose the access this team granted)",
3133
+ "args": {},
3134
+ "description": "List the projects visible to you",
3124
3135
  "examples": [
3125
- "<%= config.bin %> teams delete DriverOne"
3136
+ "<%= config.bin %> projects list",
3137
+ "<%= config.bin %> projects list --page 2 --json"
3126
3138
  ],
3127
3139
  "flags": {
3128
3140
  "json": {
@@ -3131,11 +3143,19 @@
3131
3143
  "name": "json",
3132
3144
  "allowNo": false,
3133
3145
  "type": "boolean"
3146
+ },
3147
+ "page": {
3148
+ "description": "Page number",
3149
+ "name": "page",
3150
+ "default": 1,
3151
+ "hasDynamicHelp": false,
3152
+ "multiple": false,
3153
+ "type": "option"
3134
3154
  }
3135
3155
  },
3136
3156
  "hasDynamicHelp": false,
3137
3157
  "hiddenAliases": [],
3138
- "id": "teams:delete",
3158
+ "id": "projects:list",
3139
3159
  "pluginAlias": "@bussolabs/closeyourit-cli",
3140
3160
  "pluginName": "@bussolabs/closeyourit-cli",
3141
3161
  "pluginType": "core",
@@ -3145,17 +3165,17 @@
3145
3165
  "relativePath": [
3146
3166
  "dist",
3147
3167
  "commands",
3148
- "teams",
3149
- "delete.js"
3168
+ "projects",
3169
+ "list.js"
3150
3170
  ]
3151
3171
  },
3152
- "teams:list": {
3172
+ "projects:set-environments": {
3153
3173
  "aliases": [],
3154
3174
  "args": {},
3155
- "description": "List the teams (people with scope) in your organization",
3175
+ "description": "Declare the environments a project receives data from (replaces the current set)",
3156
3176
  "examples": [
3157
- "<%= config.bin %> teams list",
3158
- "<%= config.bin %> teams list --json"
3177
+ "<%= config.bin %> projects set-environments --project legalbloom-rails --code production",
3178
+ "<%= config.bin %> projects set-environments -p LBRA --code production --code staging"
3159
3179
  ],
3160
3180
  "flags": {
3161
3181
  "json": {
@@ -3165,18 +3185,35 @@
3165
3185
  "allowNo": false,
3166
3186
  "type": "boolean"
3167
3187
  },
3168
- "page": {
3169
- "description": "Page number",
3170
- "name": "page",
3171
- "default": 1,
3188
+ "project": {
3189
+ "char": "p",
3190
+ "description": "Project id (UUID) or key",
3191
+ "name": "project",
3192
+ "required": true,
3172
3193
  "hasDynamicHelp": false,
3173
3194
  "multiple": false,
3174
3195
  "type": "option"
3196
+ },
3197
+ "code": {
3198
+ "description": "Environment code, e.g. production (repeatable)",
3199
+ "name": "code",
3200
+ "default": [],
3201
+ "hasDynamicHelp": false,
3202
+ "multiple": true,
3203
+ "type": "option"
3204
+ },
3205
+ "environment-id": {
3206
+ "description": "Environment id / UUID (repeatable)",
3207
+ "name": "environment-id",
3208
+ "default": [],
3209
+ "hasDynamicHelp": false,
3210
+ "multiple": true,
3211
+ "type": "option"
3175
3212
  }
3176
3213
  },
3177
3214
  "hasDynamicHelp": false,
3178
3215
  "hiddenAliases": [],
3179
- "id": "teams:list",
3216
+ "id": "projects:set-environments",
3180
3217
  "pluginAlias": "@bussolabs/closeyourit-cli",
3181
3218
  "pluginName": "@bussolabs/closeyourit-cli",
3182
3219
  "pluginType": "core",
@@ -3186,27 +3223,17 @@
3186
3223
  "relativePath": [
3187
3224
  "dist",
3188
3225
  "commands",
3189
- "teams",
3190
- "list.js"
3226
+ "projects",
3227
+ "set-environments.js"
3191
3228
  ]
3192
3229
  },
3193
- "teams:remove-member": {
3230
+ "projects:set-platforms": {
3194
3231
  "aliases": [],
3195
- "args": {
3196
- "team": {
3197
- "description": "Team id (UUID) or name",
3198
- "name": "team",
3199
- "required": true
3200
- },
3201
- "member": {
3202
- "description": "Member account id or email",
3203
- "name": "member",
3204
- "required": true
3205
- }
3206
- },
3207
- "description": "Remove a person from a team, keeping the other members",
3232
+ "args": {},
3233
+ "description": "Declare the platforms of a project (replaces the current set)",
3208
3234
  "examples": [
3209
- "<%= config.bin %> teams remove-member DriverOne client@acme.com"
3235
+ "<%= config.bin %> projects set-platforms --project legalbloom-rails --code web",
3236
+ "<%= config.bin %> projects set-platforms -p LBRA --code web --code ios"
3210
3237
  ],
3211
3238
  "flags": {
3212
3239
  "json": {
@@ -3215,11 +3242,36 @@
3215
3242
  "name": "json",
3216
3243
  "allowNo": false,
3217
3244
  "type": "boolean"
3245
+ },
3246
+ "project": {
3247
+ "char": "p",
3248
+ "description": "Project id (UUID) or key",
3249
+ "name": "project",
3250
+ "required": true,
3251
+ "hasDynamicHelp": false,
3252
+ "multiple": false,
3253
+ "type": "option"
3254
+ },
3255
+ "code": {
3256
+ "description": "Platform code, e.g. web (repeatable)",
3257
+ "name": "code",
3258
+ "default": [],
3259
+ "hasDynamicHelp": false,
3260
+ "multiple": true,
3261
+ "type": "option"
3262
+ },
3263
+ "platform-id": {
3264
+ "description": "Platform id / UUID (repeatable)",
3265
+ "name": "platform-id",
3266
+ "default": [],
3267
+ "hasDynamicHelp": false,
3268
+ "multiple": true,
3269
+ "type": "option"
3218
3270
  }
3219
3271
  },
3220
3272
  "hasDynamicHelp": false,
3221
3273
  "hiddenAliases": [],
3222
- "id": "teams:remove-member",
3274
+ "id": "projects:set-platforms",
3223
3275
  "pluginAlias": "@bussolabs/closeyourit-cli",
3224
3276
  "pluginName": "@bussolabs/closeyourit-cli",
3225
3277
  "pluginType": "core",
@@ -3229,22 +3281,23 @@
3229
3281
  "relativePath": [
3230
3282
  "dist",
3231
3283
  "commands",
3232
- "teams",
3233
- "remove-member.js"
3284
+ "projects",
3285
+ "set-platforms.js"
3234
3286
  ]
3235
3287
  },
3236
- "teams:show": {
3288
+ "projects:show": {
3237
3289
  "aliases": [],
3238
3290
  "args": {
3239
- "team": {
3240
- "description": "Team id (UUID) or name",
3241
- "name": "team",
3291
+ "id": {
3292
+ "description": "Project id (UUID) or key",
3293
+ "name": "id",
3242
3294
  "required": true
3243
3295
  }
3244
3296
  },
3245
- "description": "Show a team by id or name (roles, group/project scope, members)",
3297
+ "description": "Show a single project by id or key",
3246
3298
  "examples": [
3247
- "<%= config.bin %> teams show DriverOne"
3299
+ "<%= config.bin %> projects show acme-api",
3300
+ "<%= config.bin %> projects show <uuid> --json"
3248
3301
  ],
3249
3302
  "flags": {
3250
3303
  "json": {
@@ -3257,7 +3310,7 @@
3257
3310
  },
3258
3311
  "hasDynamicHelp": false,
3259
3312
  "hiddenAliases": [],
3260
- "id": "teams:show",
3313
+ "id": "projects:show",
3261
3314
  "pluginAlias": "@bussolabs/closeyourit-cli",
3262
3315
  "pluginName": "@bussolabs/closeyourit-cli",
3263
3316
  "pluginType": "core",
@@ -3267,23 +3320,17 @@
3267
3320
  "relativePath": [
3268
3321
  "dist",
3269
3322
  "commands",
3270
- "teams",
3323
+ "projects",
3271
3324
  "show.js"
3272
3325
  ]
3273
3326
  },
3274
- "teams:update": {
3327
+ "projects:update": {
3275
3328
  "aliases": [],
3276
- "args": {
3277
- "team": {
3278
- "description": "Team id (UUID) or name",
3279
- "name": "team",
3280
- "required": true
3281
- }
3282
- },
3283
- "description": "Update a team. Each given dimension REPLACES the whole set for that dimension.",
3329
+ "args": {},
3330
+ "description": "Update a project (name, key, color, description, group)",
3284
3331
  "examples": [
3285
- "<%= config.bin %> teams update DriverOne --role Client --group DriverOne",
3286
- "<%= config.bin %> teams update DriverOne --name \"DriverOne clients\""
3332
+ "<%= config.bin %> projects update --project LBRA --name \"New name\"",
3333
+ "<%= config.bin %> projects update -p LBRA --group Backend"
3287
3334
  ],
3288
3335
  "flags": {
3289
3336
  "json": {
@@ -3293,52 +3340,54 @@
3293
3340
  "allowNo": false,
3294
3341
  "type": "boolean"
3295
3342
  },
3296
- "color": {
3297
- "description": "Color label",
3298
- "name": "color",
3343
+ "project": {
3344
+ "char": "p",
3345
+ "description": "Project id (UUID) or key",
3346
+ "name": "project",
3347
+ "required": true,
3299
3348
  "hasDynamicHelp": false,
3300
3349
  "multiple": false,
3301
3350
  "type": "option"
3302
3351
  },
3303
- "group": {
3304
- "description": "Group id or name (repeatable; replaces the group scope)",
3305
- "name": "group",
3352
+ "name": {
3353
+ "description": "New project name",
3354
+ "name": "name",
3306
3355
  "hasDynamicHelp": false,
3307
- "multiple": true,
3356
+ "multiple": false,
3308
3357
  "type": "option"
3309
3358
  },
3310
- "member": {
3311
- "description": "Member account id or email (repeatable; replaces the members)",
3312
- "name": "member",
3359
+ "key": {
3360
+ "description": "New project key (uppercase A-Z0-9)",
3361
+ "name": "key",
3313
3362
  "hasDynamicHelp": false,
3314
- "multiple": true,
3363
+ "multiple": false,
3315
3364
  "type": "option"
3316
3365
  },
3317
- "name": {
3318
- "description": "New name",
3319
- "name": "name",
3366
+ "color": {
3367
+ "description": "Color label",
3368
+ "name": "color",
3320
3369
  "hasDynamicHelp": false,
3321
3370
  "multiple": false,
3322
3371
  "type": "option"
3323
3372
  },
3324
- "project": {
3325
- "description": "Project id or key (repeatable; replaces the project scope)",
3326
- "name": "project",
3373
+ "description": {
3374
+ "description": "Free-form description",
3375
+ "name": "description",
3327
3376
  "hasDynamicHelp": false,
3328
- "multiple": true,
3329
- "type": "option"
3330
- },
3331
- "role": {
3332
- "description": "Role id or name (repeatable; replaces the roles)",
3333
- "name": "role",
3377
+ "multiple": false,
3378
+ "type": "option"
3379
+ },
3380
+ "group": {
3381
+ "description": "Group id (UUID) or name to move the project into",
3382
+ "name": "group",
3334
3383
  "hasDynamicHelp": false,
3335
- "multiple": true,
3384
+ "multiple": false,
3336
3385
  "type": "option"
3337
3386
  }
3338
3387
  },
3339
3388
  "hasDynamicHelp": false,
3340
3389
  "hiddenAliases": [],
3341
- "id": "teams:update",
3390
+ "id": "projects:update",
3342
3391
  "pluginAlias": "@bussolabs/closeyourit-cli",
3343
3392
  "pluginName": "@bussolabs/closeyourit-cli",
3344
3393
  "pluginType": "core",
@@ -3348,17 +3397,27 @@
3348
3397
  "relativePath": [
3349
3398
  "dist",
3350
3399
  "commands",
3351
- "teams",
3400
+ "projects",
3352
3401
  "update.js"
3353
3402
  ]
3354
3403
  },
3355
- "org:show": {
3404
+ "teams:add-member": {
3356
3405
  "aliases": [],
3357
- "args": {},
3358
- "description": "Show your organization settings",
3406
+ "args": {
3407
+ "team": {
3408
+ "description": "Team id (UUID) or name",
3409
+ "name": "team",
3410
+ "required": true
3411
+ },
3412
+ "member": {
3413
+ "description": "Member account id or email (must be an org member)",
3414
+ "name": "member",
3415
+ "required": true
3416
+ }
3417
+ },
3418
+ "description": "Add a person to a team, keeping the existing members",
3359
3419
  "examples": [
3360
- "<%= config.bin %> org show",
3361
- "<%= config.bin %> org show --json"
3420
+ "<%= config.bin %> teams add-member DriverOne client@acme.com"
3362
3421
  ],
3363
3422
  "flags": {
3364
3423
  "json": {
@@ -3371,7 +3430,7 @@
3371
3430
  },
3372
3431
  "hasDynamicHelp": false,
3373
3432
  "hiddenAliases": [],
3374
- "id": "org:show",
3433
+ "id": "teams:add-member",
3375
3434
  "pluginAlias": "@bussolabs/closeyourit-cli",
3376
3435
  "pluginName": "@bussolabs/closeyourit-cli",
3377
3436
  "pluginType": "core",
@@ -3381,18 +3440,23 @@
3381
3440
  "relativePath": [
3382
3441
  "dist",
3383
3442
  "commands",
3384
- "org",
3385
- "show.js"
3443
+ "teams",
3444
+ "add-member.js"
3386
3445
  ]
3387
3446
  },
3388
- "org:update": {
3447
+ "teams:create": {
3389
3448
  "aliases": [],
3390
- "args": {},
3391
- "description": "Update your organization settings (requires organization.manage)",
3449
+ "args": {
3450
+ "name": {
3451
+ "description": "Team name",
3452
+ "name": "name",
3453
+ "required": true
3454
+ }
3455
+ },
3456
+ "description": "Create a team and (optionally) set its roles, group/project scope and members",
3392
3457
  "examples": [
3393
- "<%= config.bin %> org update --name \"Acme Inc\"",
3394
- "<%= config.bin %> org update --slug acme-inc",
3395
- "<%= config.bin %> org update --projects-view table"
3458
+ "<%= config.bin %> teams create DriverOne --role Client --group DriverOne",
3459
+ "<%= config.bin %> teams create DriverOne --role Client --group DriverOne --member client@acme.com"
3396
3460
  ],
3397
3461
  "flags": {
3398
3462
  "json": {
@@ -3402,35 +3466,45 @@
3402
3466
  "allowNo": false,
3403
3467
  "type": "boolean"
3404
3468
  },
3405
- "name": {
3406
- "description": "New organization name",
3407
- "name": "name",
3469
+ "color": {
3470
+ "description": "Color label",
3471
+ "name": "color",
3408
3472
  "hasDynamicHelp": false,
3409
3473
  "multiple": false,
3410
3474
  "type": "option"
3411
3475
  },
3412
- "slug": {
3413
- "description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
3414
- "name": "slug",
3476
+ "group": {
3477
+ "description": "Group id or name to scope the team to (repeatable)",
3478
+ "name": "group",
3415
3479
  "hasDynamicHelp": false,
3416
- "multiple": false,
3480
+ "multiple": true,
3417
3481
  "type": "option"
3418
3482
  },
3419
- "projects-view": {
3420
- "description": "Default projects list view",
3421
- "name": "projects-view",
3483
+ "member": {
3484
+ "description": "Member account id or email (repeatable; must be an org member)",
3485
+ "name": "member",
3422
3486
  "hasDynamicHelp": false,
3423
- "multiple": false,
3424
- "options": [
3425
- "cards",
3426
- "table"
3427
- ],
3487
+ "multiple": true,
3488
+ "type": "option"
3489
+ },
3490
+ "project": {
3491
+ "description": "Project id or key to scope the team to (repeatable)",
3492
+ "name": "project",
3493
+ "hasDynamicHelp": false,
3494
+ "multiple": true,
3495
+ "type": "option"
3496
+ },
3497
+ "role": {
3498
+ "description": "Role id or name to grant to the team (repeatable)",
3499
+ "name": "role",
3500
+ "hasDynamicHelp": false,
3501
+ "multiple": true,
3428
3502
  "type": "option"
3429
3503
  }
3430
3504
  },
3431
3505
  "hasDynamicHelp": false,
3432
3506
  "hiddenAliases": [],
3433
- "id": "org:update",
3507
+ "id": "teams:create",
3434
3508
  "pluginAlias": "@bussolabs/closeyourit-cli",
3435
3509
  "pluginName": "@bussolabs/closeyourit-cli",
3436
3510
  "pluginType": "core",
@@ -3440,22 +3514,22 @@
3440
3514
  "relativePath": [
3441
3515
  "dist",
3442
3516
  "commands",
3443
- "org",
3444
- "update.js"
3517
+ "teams",
3518
+ "create.js"
3445
3519
  ]
3446
3520
  },
3447
- "roles:create": {
3521
+ "teams:delete": {
3448
3522
  "aliases": [],
3449
3523
  "args": {
3450
- "name": {
3451
- "description": "Role name",
3452
- "name": "name",
3524
+ "team": {
3525
+ "description": "Team id (UUID) or name",
3526
+ "name": "team",
3453
3527
  "required": true
3454
3528
  }
3455
3529
  },
3456
- "description": "Create an RBAC role (a named bundle of permission keys)",
3530
+ "description": "Delete a team (its members lose the access this team granted)",
3457
3531
  "examples": [
3458
- "<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
3532
+ "<%= config.bin %> teams delete DriverOne"
3459
3533
  ],
3460
3534
  "flags": {
3461
3535
  "json": {
@@ -3464,25 +3538,11 @@
3464
3538
  "name": "json",
3465
3539
  "allowNo": false,
3466
3540
  "type": "boolean"
3467
- },
3468
- "color": {
3469
- "description": "Color label",
3470
- "name": "color",
3471
- "hasDynamicHelp": false,
3472
- "multiple": false,
3473
- "type": "option"
3474
- },
3475
- "permission": {
3476
- "description": "Permission key from the catalog (repeatable)",
3477
- "name": "permission",
3478
- "hasDynamicHelp": false,
3479
- "multiple": true,
3480
- "type": "option"
3481
3541
  }
3482
3542
  },
3483
3543
  "hasDynamicHelp": false,
3484
3544
  "hiddenAliases": [],
3485
- "id": "roles:create",
3545
+ "id": "teams:delete",
3486
3546
  "pluginAlias": "@bussolabs/closeyourit-cli",
3487
3547
  "pluginName": "@bussolabs/closeyourit-cli",
3488
3548
  "pluginType": "core",
@@ -3492,22 +3552,17 @@
3492
3552
  "relativePath": [
3493
3553
  "dist",
3494
3554
  "commands",
3495
- "roles",
3496
- "create.js"
3555
+ "teams",
3556
+ "delete.js"
3497
3557
  ]
3498
3558
  },
3499
- "roles:delete": {
3559
+ "teams:list": {
3500
3560
  "aliases": [],
3501
- "args": {
3502
- "role": {
3503
- "description": "Role id (UUID) or name",
3504
- "name": "role",
3505
- "required": true
3506
- }
3507
- },
3508
- "description": "Delete a role (its assignments to teams and accounts are removed)",
3561
+ "args": {},
3562
+ "description": "List the teams (people with scope) in your organization",
3509
3563
  "examples": [
3510
- "<%= config.bin %> roles delete Client"
3564
+ "<%= config.bin %> teams list",
3565
+ "<%= config.bin %> teams list --json"
3511
3566
  ],
3512
3567
  "flags": {
3513
3568
  "json": {
@@ -3516,11 +3571,19 @@
3516
3571
  "name": "json",
3517
3572
  "allowNo": false,
3518
3573
  "type": "boolean"
3574
+ },
3575
+ "page": {
3576
+ "description": "Page number",
3577
+ "name": "page",
3578
+ "default": 1,
3579
+ "hasDynamicHelp": false,
3580
+ "multiple": false,
3581
+ "type": "option"
3519
3582
  }
3520
3583
  },
3521
3584
  "hasDynamicHelp": false,
3522
3585
  "hiddenAliases": [],
3523
- "id": "roles:delete",
3586
+ "id": "teams:list",
3524
3587
  "pluginAlias": "@bussolabs/closeyourit-cli",
3525
3588
  "pluginName": "@bussolabs/closeyourit-cli",
3526
3589
  "pluginType": "core",
@@ -3530,17 +3593,27 @@
3530
3593
  "relativePath": [
3531
3594
  "dist",
3532
3595
  "commands",
3533
- "roles",
3534
- "delete.js"
3596
+ "teams",
3597
+ "list.js"
3535
3598
  ]
3536
3599
  },
3537
- "roles:list": {
3600
+ "teams:remove-member": {
3538
3601
  "aliases": [],
3539
- "args": {},
3540
- "description": "List the RBAC roles in your organization",
3602
+ "args": {
3603
+ "team": {
3604
+ "description": "Team id (UUID) or name",
3605
+ "name": "team",
3606
+ "required": true
3607
+ },
3608
+ "member": {
3609
+ "description": "Member account id or email",
3610
+ "name": "member",
3611
+ "required": true
3612
+ }
3613
+ },
3614
+ "description": "Remove a person from a team, keeping the other members",
3541
3615
  "examples": [
3542
- "<%= config.bin %> roles list",
3543
- "<%= config.bin %> roles list --json"
3616
+ "<%= config.bin %> teams remove-member DriverOne client@acme.com"
3544
3617
  ],
3545
3618
  "flags": {
3546
3619
  "json": {
@@ -3549,19 +3622,11 @@
3549
3622
  "name": "json",
3550
3623
  "allowNo": false,
3551
3624
  "type": "boolean"
3552
- },
3553
- "page": {
3554
- "description": "Page number",
3555
- "name": "page",
3556
- "default": 1,
3557
- "hasDynamicHelp": false,
3558
- "multiple": false,
3559
- "type": "option"
3560
3625
  }
3561
3626
  },
3562
3627
  "hasDynamicHelp": false,
3563
3628
  "hiddenAliases": [],
3564
- "id": "roles:list",
3629
+ "id": "teams:remove-member",
3565
3630
  "pluginAlias": "@bussolabs/closeyourit-cli",
3566
3631
  "pluginName": "@bussolabs/closeyourit-cli",
3567
3632
  "pluginType": "core",
@@ -3571,22 +3636,22 @@
3571
3636
  "relativePath": [
3572
3637
  "dist",
3573
3638
  "commands",
3574
- "roles",
3575
- "list.js"
3639
+ "teams",
3640
+ "remove-member.js"
3576
3641
  ]
3577
3642
  },
3578
- "roles:show": {
3643
+ "teams:show": {
3579
3644
  "aliases": [],
3580
3645
  "args": {
3581
- "role": {
3582
- "description": "Role id (UUID) or name",
3583
- "name": "role",
3646
+ "team": {
3647
+ "description": "Team id (UUID) or name",
3648
+ "name": "team",
3584
3649
  "required": true
3585
3650
  }
3586
3651
  },
3587
- "description": "Show a role by id or name (with its permission keys)",
3652
+ "description": "Show a team by id or name (roles, group/project scope, members)",
3588
3653
  "examples": [
3589
- "<%= config.bin %> roles show Client"
3654
+ "<%= config.bin %> teams show DriverOne"
3590
3655
  ],
3591
3656
  "flags": {
3592
3657
  "json": {
@@ -3599,7 +3664,7 @@
3599
3664
  },
3600
3665
  "hasDynamicHelp": false,
3601
3666
  "hiddenAliases": [],
3602
- "id": "roles:show",
3667
+ "id": "teams:show",
3603
3668
  "pluginAlias": "@bussolabs/closeyourit-cli",
3604
3669
  "pluginName": "@bussolabs/closeyourit-cli",
3605
3670
  "pluginType": "core",
@@ -3609,23 +3674,23 @@
3609
3674
  "relativePath": [
3610
3675
  "dist",
3611
3676
  "commands",
3612
- "roles",
3677
+ "teams",
3613
3678
  "show.js"
3614
3679
  ]
3615
3680
  },
3616
- "roles:update": {
3681
+ "teams:update": {
3617
3682
  "aliases": [],
3618
3683
  "args": {
3619
- "role": {
3620
- "description": "Role id (UUID) or name",
3621
- "name": "role",
3684
+ "team": {
3685
+ "description": "Team id (UUID) or name",
3686
+ "name": "team",
3622
3687
  "required": true
3623
3688
  }
3624
3689
  },
3625
- "description": "Update a role (rename, recolor, or replace its permission keys)",
3690
+ "description": "Update a team. Each given dimension REPLACES the whole set for that dimension.",
3626
3691
  "examples": [
3627
- "<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
3628
- "<%= config.bin %> roles update Client --name \"Client manager\""
3692
+ "<%= config.bin %> teams update DriverOne --role Client --group DriverOne",
3693
+ "<%= config.bin %> teams update DriverOne --name \"DriverOne clients\""
3629
3694
  ],
3630
3695
  "flags": {
3631
3696
  "json": {
@@ -3642,6 +3707,20 @@
3642
3707
  "multiple": false,
3643
3708
  "type": "option"
3644
3709
  },
3710
+ "group": {
3711
+ "description": "Group id or name (repeatable; replaces the group scope)",
3712
+ "name": "group",
3713
+ "hasDynamicHelp": false,
3714
+ "multiple": true,
3715
+ "type": "option"
3716
+ },
3717
+ "member": {
3718
+ "description": "Member account id or email (repeatable; replaces the members)",
3719
+ "name": "member",
3720
+ "hasDynamicHelp": false,
3721
+ "multiple": true,
3722
+ "type": "option"
3723
+ },
3645
3724
  "name": {
3646
3725
  "description": "New name",
3647
3726
  "name": "name",
@@ -3649,9 +3728,16 @@
3649
3728
  "multiple": false,
3650
3729
  "type": "option"
3651
3730
  },
3652
- "permission": {
3653
- "description": "Permission key (repeatable); when given, REPLACES the whole set",
3654
- "name": "permission",
3731
+ "project": {
3732
+ "description": "Project id or key (repeatable; replaces the project scope)",
3733
+ "name": "project",
3734
+ "hasDynamicHelp": false,
3735
+ "multiple": true,
3736
+ "type": "option"
3737
+ },
3738
+ "role": {
3739
+ "description": "Role id or name (repeatable; replaces the roles)",
3740
+ "name": "role",
3655
3741
  "hasDynamicHelp": false,
3656
3742
  "multiple": true,
3657
3743
  "type": "option"
@@ -3659,7 +3745,7 @@
3659
3745
  },
3660
3746
  "hasDynamicHelp": false,
3661
3747
  "hiddenAliases": [],
3662
- "id": "roles:update",
3748
+ "id": "teams:update",
3663
3749
  "pluginAlias": "@bussolabs/closeyourit-cli",
3664
3750
  "pluginName": "@bussolabs/closeyourit-cli",
3665
3751
  "pluginType": "core",
@@ -3669,7 +3755,7 @@
3669
3755
  "relativePath": [
3670
3756
  "dist",
3671
3757
  "commands",
3672
- "roles",
3758
+ "teams",
3673
3759
  "update.js"
3674
3760
  ]
3675
3761
  },
@@ -4943,5 +5029,5 @@
4943
5029
  ]
4944
5030
  }
4945
5031
  },
4946
- "version": "0.0.7"
5032
+ "version": "0.0.8"
4947
5033
  }