@cimplify/cli 0.6.10 → 0.6.11

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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { REGISTRY_INDEX, REGISTRY } from './chunk-EKJ6T66O.mjs';
2
+ import { REGISTRY_INDEX, REGISTRY } from './chunk-OLZMA2TM.mjs';
3
3
  import { promptYesNo } from './chunk-ITAFAORS.mjs';
4
4
  import { parseArgs, flagString, flagBool } from './chunk-C4M3DXKC.mjs';
5
5
  import { CliError, CLI_ERROR_CODE, info, bold, dim, success, result, yellow } from './chunk-E2T2SBP5.mjs';
@@ -35,6 +35,9 @@ async function fetchCloneToken(client, businessId, projectId, purpose = TOKEN_PU
35
35
  purpose
36
36
  });
37
37
  }
38
+ async function fetchRepoRecord(client, businessId, projectId) {
39
+ return client.get(repoEndpoint(businessId, projectId));
40
+ }
38
41
  function resolveProvider(value, fallback) {
39
42
  if (value === void 0) return fallback;
40
43
  if (!REPO_PROVIDER_VALUES.has(value)) {
@@ -208,4 +211,4 @@ function repoPayload(repo) {
208
211
  };
209
212
  }
210
213
 
211
- export { fetchCloneToken, run };
214
+ export { fetchCloneToken, fetchRepoRecord, run };
@@ -2,7 +2,7 @@
2
2
  // package.json
3
3
  var package_default = {
4
4
  name: "@cimplify/cli",
5
- version: "0.6.10",
5
+ version: "0.6.11",
6
6
  description: "Cimplify CLI \u2014 deploy, manage env vars, link projects, and scaffold storefronts",
7
7
  keywords: [
8
8
  "cimplify",