[socket config] Add configuration commands #987
test.yml
on: pull_request
Tests
/
Resolving inputs
0s
Matrix: Tests / Test
Annotations
32 errors
|
src/commands/config/cmd-config-get.test.ts > socket config get > should support --help: `config get --help`:
src/commands/config/cmd-config-get.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config get --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config get FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-get.test.ts:16:20
|
|
src/commands/config/cmd-config-list.test.ts > socket config get > should support --help: `config list --help`:
src/commands/config/cmd-config-list.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config list --help` 1` mismatched
- Expected
+ Received
@@ -8,7 +8,14 @@
--full Show full tokens in plaintext (unsafe)
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config list FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-list.test.ts:16:20
|
|
src/commands/config/cmd-config-unset.test.ts > socket config unset > should support --help: `config unset --help`:
src/commands/config/cmd-config-unset.test.ts#L16
Error: Snapshot `socket config unset > should support --help: `config unset --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config unset FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-unset.test.ts:16:20
|
|
Tests / Test (20, ubuntu-latest)
Process completed with exit code 1.
|
|
src/commands/config/cmd-config-get.test.ts > socket config get > should support --help: `config get --help`:
src/commands/config/cmd-config-get.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config get --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config get FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-get.test.ts:16:20
|
|
src/commands/config/cmd-config-list.test.ts > socket config get > should support --help: `config list --help`:
src/commands/config/cmd-config-list.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config list --help` 1` mismatched
- Expected
+ Received
@@ -8,7 +8,14 @@
--full Show full tokens in plaintext (unsafe)
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config list FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-list.test.ts:16:20
|
|
src/commands/config/cmd-config-unset.test.ts > socket config unset > should support --help: `config unset --help`:
src/commands/config/cmd-config-unset.test.ts#L16
Error: Snapshot `socket config unset > should support --help: `config unset --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config unset FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-unset.test.ts:16:20
|
|
Tests / Test (18, ubuntu-latest)
Process completed with exit code 1.
|
|
src/commands/config/cmd-config-get.test.ts > socket config get > should support --help: `config get --help`:
src/commands/config/cmd-config-get.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config get --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config get FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-get.test.ts:16:20
|
|
src/commands/config/cmd-config-list.test.ts > socket config get > should support --help: `config list --help`:
src/commands/config/cmd-config-list.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config list --help` 1` mismatched
- Expected
+ Received
@@ -8,7 +8,14 @@
--full Show full tokens in plaintext (unsafe)
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config list FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-list.test.ts:16:20
|
|
src/commands/config/cmd-config-unset.test.ts > socket config unset > should support --help: `config unset --help`:
src/commands/config/cmd-config-unset.test.ts#L16
Error: Snapshot `socket config unset > should support --help: `config unset --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config unset FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-unset.test.ts:16:20
|
|
Tests / Test (23, ubuntu-latest)
Process completed with exit code 1.
|
|
src/commands/config/cmd-config-get.test.ts > socket config get > should support --help: `config get --help`:
src/commands/config/cmd-config-get.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config get --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config get FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-get.test.ts:16:20
|
|
src/commands/config/cmd-config-list.test.ts > socket config get > should support --help: `config list --help`:
src/commands/config/cmd-config-list.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config list --help` 1` mismatched
- Expected
+ Received
@@ -8,7 +8,14 @@
--full Show full tokens in plaintext (unsafe)
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config list FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-list.test.ts:16:20
|
|
src/commands/config/cmd-config-unset.test.ts > socket config unset > should support --help: `config unset --help`:
src/commands/config/cmd-config-unset.test.ts#L16
Error: Snapshot `socket config unset > should support --help: `config unset --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config unset FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-unset.test.ts:16:20
|
|
Tests / Test (22, ubuntu-latest)
Process completed with exit code 1.
|
|
src/commands/config/cmd-config-get.test.ts > socket config get > should support --help: `config get --help`:
src/commands/config/cmd-config-get.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config get --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config get FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-get.test.ts:16:20
|
|
src/commands/config/cmd-config-list.test.ts > socket config get > should support --help: `config list --help`:
src/commands/config/cmd-config-list.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config list --help` 1` mismatched
- Expected
+ Received
@@ -8,7 +8,14 @@
--full Show full tokens in plaintext (unsafe)
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config list FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-list.test.ts:16:20
|
|
src/commands/config/cmd-config-unset.test.ts > socket config unset > should support --help: `config unset --help`:
src/commands/config/cmd-config-unset.test.ts#L16
Error: Snapshot `socket config unset > should support --help: `config unset --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config unset FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-unset.test.ts:16:20
|
|
Tests / Test (22, windows-latest)
Process completed with exit code 1.
|
|
src/commands/config/cmd-config-get.test.ts > socket config get > should support --help: `config get --help`:
src/commands/config/cmd-config-get.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config get --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config get FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-get.test.ts:16:20
|
|
src/commands/config/cmd-config-list.test.ts > socket config get > should support --help: `config list --help`:
src/commands/config/cmd-config-list.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config list --help` 1` mismatched
- Expected
+ Received
@@ -8,7 +8,14 @@
--full Show full tokens in plaintext (unsafe)
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config list FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-list.test.ts:16:20
|
|
src/commands/config/cmd-config-unset.test.ts > socket config unset > should support --help: `config unset --help`:
src/commands/config/cmd-config-unset.test.ts#L16
Error: Snapshot `socket config unset > should support --help: `config unset --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config unset FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-unset.test.ts:16:20
|
|
Tests / Test (20, windows-latest)
Process completed with exit code 1.
|
|
src/commands/config/cmd-config-get.test.ts > socket config get > should support --help: `config get --help`:
src/commands/config/cmd-config-get.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config get --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config get FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-get.test.ts:16:20
|
|
src/commands/config/cmd-config-list.test.ts > socket config get > should support --help: `config list --help`:
src/commands/config/cmd-config-list.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config list --help` 1` mismatched
- Expected
+ Received
@@ -8,7 +8,14 @@
--full Show full tokens in plaintext (unsafe)
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config list FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-list.test.ts:16:20
|
|
src/commands/config/cmd-config-unset.test.ts > socket config unset > should support --help: `config unset --help`:
src/commands/config/cmd-config-unset.test.ts#L16
Error: Snapshot `socket config unset > should support --help: `config unset --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config unset FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-unset.test.ts:16:20
|
|
Tests / Test (23, windows-latest)
Process completed with exit code 1.
|
|
src/commands/config/cmd-config-get.test.ts > socket config get > should support --help: `config get --help`:
src/commands/config/cmd-config-get.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config get --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config get FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-get.test.ts:16:20
|
|
src/commands/config/cmd-config-list.test.ts > socket config get > should support --help: `config list --help`:
src/commands/config/cmd-config-list.test.ts#L16
Error: Snapshot `socket config get > should support --help: `config list --help` 1` mismatched
- Expected
+ Received
@@ -8,7 +8,14 @@
--full Show full tokens in plaintext (unsafe)
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config list FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-list.test.ts:16:20
|
|
src/commands/config/cmd-config-unset.test.ts > socket config unset > should support --help: `config unset --help`:
src/commands/config/cmd-config-unset.test.ts#L16
Error: Snapshot `socket config unset > should support --help: `config unset --help` 1` mismatched
- Expected
+ Received
@@ -7,7 +7,14 @@
--dryRun Do input validation for a command and exit 0 when input is ok
--help Print this help.
--json Output result as json
--markdown Output result as markdown
+ Keys:
+
+ - apiBaseUrl -- Base URL of the API endpoint
+ - apiToken -- The API token required to access most API endpoints
+ - apiProxy -- A proxy through which to access the API
+ - enforcedOrgs -- Orgs in this list have their security policies enforced on this machine
+
Examples
$ socket config unset FakeOrg --repoName=test-repo"
❯ src/commands/config/cmd-config-unset.test.ts:16:20
|
|
Tests / Test (18, windows-latest)
Process completed with exit code 1.
|