Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing doc subsection #1901

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions docs/docs-content/registries-and-packs/spectro-cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,46 @@

**Note:** In case of HTTPS, if you have access to the pack registry's CA certificate, there is no need for the insecure flag; simply place the CA certificate at /etc/spectro/certs.d/[SERVER]/ca.crt.

</TabItem>

<TabItem label="BUILD" value="cli_build">

## BUILD

Generate Spectro Cloud pack in the target directory using a helm chart.

<Tabs queryString="cliBuild">

<TabItem label="Usage" value="cli_build_usage">

```bash
spectro pack build [PACK_NAME] [TARGET_DIR]
```

</TabItem>

<TabItem label="Usage" value="cli_build_example">
```bash
spectro pack build my-awesome-pack ./my-awesome-pack

Check failure on line 130 in docs/docs-content/registries-and-packs/spectro-cli-reference.md

View workflow job for this annotation

GitHub Actions / Writing Checks

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'Spectro' instead of 'spectro'. Raw Output: {"message": "[Vale.Terms] Use 'Spectro' instead of 'spectro'.", "location": {"path": "docs/docs-content/registries-and-packs/spectro-cli-reference.md", "range": {"start": {"line": 130, "column": 2}}}, "severity": "ERROR"}

Check failure on line 130 in docs/docs-content/registries-and-packs/spectro-cli-reference.md

View workflow job for this annotation

GitHub Actions / Writing Checks

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'Spectro' instead of 'spectro'. Raw Output: {"message": "[Vale.Terms] Use 'Spectro' instead of 'spectro'.", "location": {"path": "docs/docs-content/registries-and-packs/spectro-cli-reference.md", "range": {"start": {"line": 130, "column": 2}}}, "severity": "ERROR"}
```

</TabItem>

</Tabs>

### Args

Check failure on line 137 in docs/docs-content/registries-and-packs/spectro-cli-reference.md

View workflow job for this annotation

GitHub Actions / Writing Checks

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Args'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Args'?", "location": {"path": "docs/docs-content/registries-and-packs/spectro-cli-reference.md", "range": {"start": {"line": 137, "column": 5}}}, "severity": "ERROR"}

Check failure on line 137 in docs/docs-content/registries-and-packs/spectro-cli-reference.md

View workflow job for this annotation

GitHub Actions / Writing Checks

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Args'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Args'?", "location": {"path": "docs/docs-content/registries-and-packs/spectro-cli-reference.md", "range": {"start": {"line": 137, "column": 5}}}, "severity": "ERROR"}

PACK_NAME - Name of the pack
TARGET_DIR - Directory containing the pack data

### FLAGS

-p, --push - Push the pack on the registry after creation

-r, --registry-server - Override the default Spectro registry



</TabItem>

<TabItem label="PUSH" value="cli_push">
Expand Down
Loading