Skip to content

Commit 12352ae

Browse files
committed
Update snapshots
1 parent 19b91dc commit 12352ae

File tree

4 files changed

+7
-21
lines changed

4 files changed

+7
-21
lines changed

src/commands/config/cmd-config-auto.test.mts

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,19 @@ describe('socket config auto', async () => {
2323
--json Output result as json
2424
--markdown Output result as markdown
2525
26-
Attempt to automatically discover the correct value for given config KEY.
26+
Attempt to automatically discover the correct value for a given config KEY.
2727
28-
Keys:
29-
30-
- apiBaseUrl -- Base URL of the API endpoint
31-
- apiProxy -- A proxy through which to access the API
32-
- apiToken -- The API token required to access most API endpoints
33-
- defaultOrg -- The default org slug to use; usually the org your API token has access to. When set, all orgSlug arguments are implied to be this value.
34-
- enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
35-
- skipAskToPersistDefaultOrg -- This flag prevents the CLI from asking you to persist the org slug when you selected one interactively
36-
- org -- Alias for defaultOrg
37-
38-
For certain keys it will request the value from server, for others it will
39-
reset the value to the default. For some keys this has no effect.
28+
Examples
29+
$ socket config auto defaultOrg
4030
4131
Keys:
42-
4332
- apiBaseUrl -- Base URL of the API endpoint
4433
- apiProxy -- A proxy through which to access the API
4534
- apiToken -- The API token required to access most API endpoints
4635
- defaultOrg -- The default org slug to use; usually the org your API token has access to. When set, all orgSlug arguments are implied to be this value.
4736
- enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
48-
- skipAskToPersistDefaultOrg -- This flag prevents the CLI from asking you to persist the org slug when you selected one interactively
4937
- org -- Alias for defaultOrg
50-
51-
Examples
52-
$ socket config auto defaultOrg"
38+
- skipAskToPersistDefaultOrg -- This flag prevents the CLI from asking you to persist the org slug when you selected one interactively"
5339
`,
5440
)
5541
expect(`\n ${stderr}`).toMatchInlineSnapshot(`

src/commands/config/cmd-config-get.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ describe('socket config get', async () => {
3434
- apiToken -- The API token required to access most API endpoints
3535
- defaultOrg -- The default org slug to use; usually the org your API token has access to. When set, all orgSlug arguments are implied to be this value.
3636
- enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
37-
- skipAskToPersistDefaultOrg -- This flag prevents the CLI from asking you to persist the org slug when you selected one interactively
3837
- org -- Alias for defaultOrg
38+
- skipAskToPersistDefaultOrg -- This flag prevents the CLI from asking you to persist the org slug when you selected one interactively
3939
4040
Examples
4141
$ socket config get defaultOrg"

src/commands/config/cmd-config-set.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ describe('socket config get', async () => {
4141
- apiToken -- The API token required to access most API endpoints
4242
- defaultOrg -- The default org slug to use; usually the org your API token has access to. When set, all orgSlug arguments are implied to be this value.
4343
- enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
44-
- skipAskToPersistDefaultOrg -- This flag prevents the CLI from asking you to persist the org slug when you selected one interactively
4544
- org -- Alias for defaultOrg
45+
- skipAskToPersistDefaultOrg -- This flag prevents the CLI from asking you to persist the org slug when you selected one interactively
4646
4747
Examples
4848
$ socket config set apiProxy https://example.com"

src/commands/config/cmd-config-unset.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ describe('socket config unset', async () => {
3535
- apiToken -- The API token required to access most API endpoints
3636
- defaultOrg -- The default org slug to use; usually the org your API token has access to. When set, all orgSlug arguments are implied to be this value.
3737
- enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
38-
- skipAskToPersistDefaultOrg -- This flag prevents the CLI from asking you to persist the org slug when you selected one interactively
3938
- org -- Alias for defaultOrg
39+
- skipAskToPersistDefaultOrg -- This flag prevents the CLI from asking you to persist the org slug when you selected one interactively
4040
4141
Examples
4242
$ socket config unset defaultOrg"

0 commit comments

Comments
 (0)