@simplysf/simply-gitlab 0.4.0 → 0.6.0

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.
@@ -2153,6 +2153,192 @@
2153
2153
  "view:mr:gitlab"
2154
2154
  ]
2155
2155
  },
2156
+ "gitlab:project:create": {
2157
+ "aliases": [],
2158
+ "args": {},
2159
+ "description": "Creates the project in --namespace, or in the namespace of the token owner when none is given. Give it --name or --path; GitLab derives whichever one is missing.\n\n--template names one of the built-in templates GitLab ships, such as express or rails. To create from a custom template instead, add --custom-template for one the instance administrator registered, --template-group for one in a group, or use --template-project to name the template project itself by id or path — which GitLab prefers, because a name can be ambiguous. Custom templates need a Premium or Ultimate instance.\n\nA template is applied asynchronously: this command returns as soon as the project record exists, with an import status of \"scheduled\", and the files arrive a few seconds later. Check \"project view\" until its import_status reads \"finished\" before writing to the repository. --dry-run prints the exact request body; a namespace or template given as a path is still looked up, so the printed ids are the ones that would be sent.",
2160
+ "examples": [
2161
+ "<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps",
2162
+ "<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps --template express --visibility internal",
2163
+ "<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps --template service-skeleton --template-group platform/templates",
2164
+ "<%= config.bin %> <%= command.id %> --path new-service --template-project platform/templates/service-skeleton --dry-run"
2165
+ ],
2166
+ "flags": {
2167
+ "json": {
2168
+ "description": "Format output as json.",
2169
+ "helpGroup": "GLOBAL",
2170
+ "name": "json",
2171
+ "allowNo": false,
2172
+ "type": "boolean"
2173
+ },
2174
+ "env-file": {
2175
+ "char": "e",
2176
+ "description": "Loaded before anything else. Variables already present in the environment win, so the file never overrides an explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.",
2177
+ "helpGroup": "CONNECTION",
2178
+ "name": "env-file",
2179
+ "summary": "Path to a .env file holding connection settings.",
2180
+ "hasDynamicHelp": false,
2181
+ "multiple": false,
2182
+ "type": "option"
2183
+ },
2184
+ "gitlab-url": {
2185
+ "env": "GITLAB_URL",
2186
+ "helpGroup": "CONNECTION",
2187
+ "name": "gitlab-url",
2188
+ "summary": "Base URL of the GitLab instance. Defaults to https://gitlab.com.",
2189
+ "hasDynamicHelp": false,
2190
+ "multiple": false,
2191
+ "type": "option"
2192
+ },
2193
+ "gitlab-token": {
2194
+ "env": "GITLAB_TOKEN",
2195
+ "helpGroup": "CONNECTION",
2196
+ "name": "gitlab-token",
2197
+ "summary": "Personal, project, or group access token.",
2198
+ "hasDynamicHelp": false,
2199
+ "multiple": false,
2200
+ "type": "option"
2201
+ },
2202
+ "dry-run": {
2203
+ "name": "dry-run",
2204
+ "summary": "Print the request that would be sent and exit without sending it.",
2205
+ "allowNo": false,
2206
+ "type": "boolean"
2207
+ },
2208
+ "name": {
2209
+ "name": "name",
2210
+ "summary": "Project name. The path is derived from it when --path is not given.",
2211
+ "hasDynamicHelp": false,
2212
+ "multiple": false,
2213
+ "type": "option"
2214
+ },
2215
+ "path": {
2216
+ "name": "path",
2217
+ "summary": "Repository path, the URL slug. The name is derived from it when --name is not given.",
2218
+ "hasDynamicHelp": false,
2219
+ "multiple": false,
2220
+ "type": "option"
2221
+ },
2222
+ "namespace": {
2223
+ "description": "Defaults to the namespace of the token owner.",
2224
+ "name": "namespace",
2225
+ "summary": "Group or user namespace to create the project in, by id or full path.",
2226
+ "hasDynamicHelp": false,
2227
+ "multiple": false,
2228
+ "type": "option"
2229
+ },
2230
+ "description": {
2231
+ "name": "description",
2232
+ "summary": "Project description.",
2233
+ "hasDynamicHelp": false,
2234
+ "multiple": false,
2235
+ "type": "option"
2236
+ },
2237
+ "visibility": {
2238
+ "name": "visibility",
2239
+ "summary": "Who can see the project.",
2240
+ "hasDynamicHelp": false,
2241
+ "multiple": false,
2242
+ "options": [
2243
+ "private",
2244
+ "internal",
2245
+ "public"
2246
+ ],
2247
+ "type": "option"
2248
+ },
2249
+ "default-branch": {
2250
+ "name": "default-branch",
2251
+ "summary": "Name of the default branch.",
2252
+ "hasDynamicHelp": false,
2253
+ "multiple": false,
2254
+ "type": "option"
2255
+ },
2256
+ "initialize-with-readme": {
2257
+ "name": "initialize-with-readme",
2258
+ "summary": "Create a first commit holding a README, so the repository is not empty.",
2259
+ "allowNo": false,
2260
+ "type": "boolean"
2261
+ },
2262
+ "topics": {
2263
+ "name": "topics",
2264
+ "summary": "Comma-separated topics to label the project with.",
2265
+ "hasDynamicHelp": false,
2266
+ "multiple": false,
2267
+ "type": "option"
2268
+ },
2269
+ "template": {
2270
+ "name": "template",
2271
+ "summary": "Template to create from: a built-in name, or with --custom-template or --template-group a custom one.",
2272
+ "hasDynamicHelp": false,
2273
+ "multiple": false,
2274
+ "type": "option"
2275
+ },
2276
+ "custom-template": {
2277
+ "name": "custom-template",
2278
+ "summary": "Look --template up among the instance's custom project templates rather than the built-in ones.",
2279
+ "allowNo": false,
2280
+ "type": "boolean"
2281
+ },
2282
+ "template-group": {
2283
+ "name": "template-group",
2284
+ "summary": "Group whose custom project templates --template names, by id or full path.",
2285
+ "hasDynamicHelp": false,
2286
+ "multiple": false,
2287
+ "type": "option"
2288
+ },
2289
+ "template-project": {
2290
+ "name": "template-project",
2291
+ "summary": "Custom template project to create from, by id or full path. Cannot be combined with --template.",
2292
+ "hasDynamicHelp": false,
2293
+ "multiple": false,
2294
+ "type": "option"
2295
+ },
2296
+ "body": {
2297
+ "exclusive": [
2298
+ "body-file"
2299
+ ],
2300
+ "name": "body",
2301
+ "summary": "Raw JSON request body.",
2302
+ "hasDynamicHelp": false,
2303
+ "multiple": false,
2304
+ "type": "option"
2305
+ },
2306
+ "body-file": {
2307
+ "name": "body-file",
2308
+ "summary": "Path to a file holding the raw JSON request body.",
2309
+ "hasDynamicHelp": false,
2310
+ "multiple": false,
2311
+ "type": "option"
2312
+ }
2313
+ },
2314
+ "hasDynamicHelp": false,
2315
+ "hiddenAliases": [],
2316
+ "id": "gitlab:project:create",
2317
+ "pluginAlias": "@simplysf/simply-gitlab",
2318
+ "pluginName": "@simplysf/simply-gitlab",
2319
+ "pluginType": "core",
2320
+ "strict": true,
2321
+ "summary": "Create a project, blank or from a template.",
2322
+ "enableJsonFlag": true,
2323
+ "isWrite": true,
2324
+ "isESM": true,
2325
+ "relativePath": [
2326
+ "lib",
2327
+ "commands",
2328
+ "gitlab",
2329
+ "project",
2330
+ "create.js"
2331
+ ],
2332
+ "aliasPermutations": [],
2333
+ "permutations": [
2334
+ "gitlab:project:create",
2335
+ "project:gitlab:create",
2336
+ "project:create:gitlab",
2337
+ "gitlab:create:project",
2338
+ "create:gitlab:project",
2339
+ "create:project:gitlab"
2340
+ ]
2341
+ },
2156
2342
  "gitlab:project:list": {
2157
2343
  "aliases": [],
2158
2344
  "args": {},
@@ -3054,5 +3240,5 @@
3054
3240
  ]
3055
3241
  }
3056
3242
  },
3057
- "version": "0.4.0"
3243
+ "version": "0.6.0"
3058
3244
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplysf/simply-gitlab",
3
3
  "description": "Command-line interface for working with GitLab",
4
- "version": "0.4.0",
4
+ "version": "0.6.0",
5
5
  "author": "@ClayChipps",
6
6
  "homepage": "https://github.com/SimplySF/simply-gitlab",
7
7
  "bugs": "https://github.com/SimplySF/simply-gitlab/issues",
@@ -14,6 +14,7 @@
14
14
  "node": ">=22.0.0"
15
15
  },
16
16
  "files": [
17
+ "/docs",
17
18
  "/lib",
18
19
  "/oclif.lock",
19
20
  "/oclif.manifest.json"
@@ -89,7 +90,7 @@
89
90
  },
90
91
  "dependencies": {
91
92
  "@oclif/core": "^4.11.2",
92
- "@simplysf/simply-gitlab-core": "^0.3.0"
93
+ "@simplysf/simply-gitlab-core": "^0.5.0"
93
94
  },
94
95
  "devDependencies": {
95
96
  "@oclif/plugin-command-snapshot": "^5.4.0",
@@ -244,5 +245,5 @@
244
245
  "service": true
245
246
  }
246
247
  },
247
- "gitHead": "27fe867f706e8805d0436e15c4eaab64f935bc3a"
248
+ "gitHead": "9477180c7be1bc1decfcccea64f89b4b6ee6ca2c"
248
249
  }