diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml
new file mode 100644
index 00000000..c344a506
--- /dev/null
+++ b/.github/dependabot.yaml
@@ -0,0 +1,44 @@
+version: 2
+updates:
+- package-ecosystem: github-actions
+ commit-message:
+ prefix: chore
+ include: scope
+ directory: /
+ schedule:
+ interval: monthly
+ groups:
+ github-actions:
+ patterns:
+ - "*"
+ update-types:
+ - "minor"
+ - "patch"
+- package-ecosystem: docker
+ commit-message:
+ prefix: chore
+ include: scope
+ directory: /
+ schedule:
+ interval: monthly
+ groups:
+ docker:
+ patterns:
+ - "*"
+ update-types:
+ - "minor"
+ - "patch"
+- package-ecosystem: gomod
+ commit-message:
+ prefix: chore
+ include: scope
+ directory: /
+ schedule:
+ interval: monthly
+ groups:
+ gomod:
+ patterns:
+ - "*"
+ update-types:
+ - "minor"
+ - "patch"
diff --git a/.github/dependency-review-config.yaml b/.github/dependency-review-config.yaml
new file mode 100644
index 00000000..08389a1e
--- /dev/null
+++ b/.github/dependency-review-config.yaml
@@ -0,0 +1,20 @@
+# https://github.com/cncf/foundation/blob/main/allowed-third-party-license-policy.md
+allow-licenses:
+- 'Apache-2.0'
+- 'BSD-2-Clause'
+- 'BSD-2-Clause-FreeBSD'
+- 'BSD-3-Clause'
+- 'ISC'
+- 'MIT'
+- 'PostgreSQL'
+- 'Python-2.0'
+- 'X11'
+- 'Zlib'
+
+allow-dependencies-licenses:
+# this action is GPL-3 but it is only used in CI
+# https://github.com/actions/dependency-review-action/issues/530#issuecomment-1638291806
+- pkg:githubactions/vladopajic/go-test-coverage@bcd064e5ceef1ccec5441519eb054263b6a44787
+# this package is MPL-2.0 and has a CNCF exception
+# https://github.com/cncf/foundation/blob/9b8c9173c2101c1b4aedad3caf2c0128715133f6/license-exceptions/cncf-exceptions-2022-04-12.json#L43C17-L43C47
+- pkg:golang/github.com/go-sql-driver/mysql
diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml
new file mode 100644
index 00000000..2901dead
--- /dev/null
+++ b/.github/workflows/coverage.yaml
@@ -0,0 +1,29 @@
+name: coverage
+on:
+ push:
+ branches:
+ - main
+permissions: {}
+jobs:
+ coverage:
+ permissions:
+ contents: write
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
+ with:
+ go-version: stable
+ - name: Calculate coverage
+ run: |
+ go test -v -covermode=atomic -coverprofile=cover.out.raw -coverpkg=./... ./...
+ # remove generated code from coverage calculation
+ grep -Ev 'internal/mock|_enumer.go' cover.out.raw > cover.out
+ - name: Generage coverage badge
+ uses: vladopajic/go-test-coverage@1079cd4e58dda229c04ffdb6324fc3756b8542ff # v2.10.1
+ with:
+ profile: cover.out
+ local-prefix: github.com/${{ github.repository }}
+ git-token: ${{ secrets.GITHUB_TOKEN }}
+ # orphan branch for storing badges
+ git-branch: badges
diff --git a/.github/workflows/dependency-review.yaml b/.github/workflows/dependency-review.yaml
new file mode 100644
index 00000000..86d7a9ec
--- /dev/null
+++ b/.github/workflows/dependency-review.yaml
@@ -0,0 +1,16 @@
+name: dependency review
+on:
+ pull_request:
+ branches:
+ - main
+permissions: {}
+jobs:
+ dependency-review:
+ permissions:
+ contents: read
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ - uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
+ with:
+ config-file: .github/dependency-review-config.yaml
diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml
index b2c45aaf..7499d8fc 100644
--- a/.github/workflows/goreleaser.yaml
+++ b/.github/workflows/goreleaser.yaml
@@ -4,7 +4,6 @@ on:
push:
tags:
- 'v*'
- pull_request:
jobs:
test-suite:
@@ -15,16 +14,16 @@ jobs:
- 1.21
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up Go
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v5
with:
go-version: ${{matrix.goversion}}
- name: Build
run: |
- go install github.com/golang/mock/mockgen@v1.4.3
+ go install go.uber.org/mock/mockgen@v0.4.0
ARTIFACT_DESTINATION=./builds make build
# - name: Check version
# run: |
@@ -40,12 +39,12 @@ jobs:
steps:
-
name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
fetch-depth: "0"
-
name: Set up Go
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v5
with:
go-version: ${{matrix.goversion}}
-
@@ -56,7 +55,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
version: v2
- args: release --verbose --skip=validate --snapshot
+ args: release --verbose --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.GH_ACTION_PAT }}
GOVERSION: ${{ matrix.goversion }}
diff --git a/.github/workflows/lagoon-cli.yaml b/.github/workflows/lagoon-cli.yaml
index 1d9a7a5c..330263ab 100644
--- a/.github/workflows/lagoon-cli.yaml
+++ b/.github/workflows/lagoon-cli.yaml
@@ -19,16 +19,16 @@ jobs:
- 1.21
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up Go
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v5
with:
go-version: ${{matrix.goversion}}
- name: Build
run: |
- go install github.com/golang/mock/mockgen@v1.4.3
+ go install go.uber.org/mock/mockgen@v0.4.0
ARTIFACT_DESTINATION=./builds make build
# - name: Check version
# run: |
@@ -40,7 +40,7 @@ jobs:
steps:
-
name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
fetch-depth: "0"
-
@@ -61,7 +61,7 @@ jobs:
-
name: Docker meta
id: meta
- uses: docker/metadata-action@v3
+ uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
@@ -69,28 +69,28 @@ jobs:
ghcr.io/${{ github.repository_owner }}/lagoon-cli
-
name: Set up QEMU
- uses: docker/setup-qemu-action@v1
+ uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
+ uses: docker/setup-buildx-action@v3
-
name: Login to DockerHub
if: github.event_name != 'pull_request'
- uses: docker/login-action@v1
+ uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GHCR
if: github.event_name != 'pull_request'
- uses: docker/login-action@v1
+ uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
- uses: docker/build-push-action@v2
+ uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
new file mode 100644
index 00000000..e13c0afe
--- /dev/null
+++ b/.github/workflows/lint.yaml
@@ -0,0 +1,28 @@
+name: lint
+on:
+ pull_request:
+ branches:
+ - main
+permissions: {}
+jobs:
+ lint-go:
+ permissions:
+ contents: read
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
+ with:
+ go-version: stable
+ - uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
+ with:
+ args: --timeout=180s --enable gocritic
+ lint-actions:
+ permissions:
+ contents: read
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ - uses: docker://rhysd/actionlint:1.7.0@sha256:601d6faeefa07683a4a79f756f430a1850b34d575d734b1d1324692202bf312e # v1.7.0
+ with:
+ args: -color -shellcheck=
diff --git a/.github/workflows/mkdocs.yaml b/.github/workflows/mkdocs.yaml
index 6175863a..82c1b760 100644
--- a/.github/workflows/mkdocs.yaml
+++ b/.github/workflows/mkdocs.yaml
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout main
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
diff --git a/.github/workflows/ossf-analysis.yaml b/.github/workflows/ossf-analysis.yaml
new file mode 100644
index 00000000..655b3f41
--- /dev/null
+++ b/.github/workflows/ossf-analysis.yaml
@@ -0,0 +1,31 @@
+name: OSSF scorecard
+on:
+ push:
+ branches:
+ - main
+permissions: {}
+jobs:
+ ossf-scorecard-analysis:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ # Needed if using Code scanning alerts
+ security-events: write
+ # Needed for GitHub OIDC token if publish_results is true
+ id-token: write
+ steps:
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ - name: Run analysis
+ uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
+ with:
+ results_file: results.sarif
+ results_format: sarif
+ # Publish the results for public repositories to enable scorecard badges. For more details, see
+ # https://github.com/ossf/scorecard-action#publishing-results.
+ # For private repositories, `publish_results` will automatically be set to `false`, regardless
+ # of the value entered here.
+ publish_results: true
+ - name: Upload SARIF results to code scanning
+ uses: github/codeql-action/upload-sarif@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3.25.12
+ with:
+ sarif_file: results.sarif
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 3870687d..5cec1a15 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -3,23 +3,23 @@ name: Release CLI
on:
push:
tags:
- - 'v*.*.*'
+ - 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up Go
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Build CLI
run: |
- go install github.com/golang/mock/mockgen@v1.4.3
+ go install go.uber.org/mock/mockgen@v0.4.0
make deps
make test
- name: Compile CLI
@@ -29,9 +29,23 @@ jobs:
# create the archived versions and remove anything not required for the release
rm ./builds/README.md ./builds/release_template.md
for BUILD in $(ls builds); do tar --transform="flags=r;s|${BUILD}|lagoon|" -czf builds/${BUILD}.tar.gz -C builds ${BUILD}; done
+ - name: Generate SBOM from Github API
+ uses: advanced-security/sbom-generator-action@375dee8e6144d9fd0ec1f5667b4f6fb4faacefed # v0.0.1
+ id: sbom
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Move SBOM to avoid dirty git
+ run: mv "$GITHUB_SBOM_PATH" ./sbom.spdx.json
+ env:
+ GITHUB_SBOM_PATH: ${{ steps.sbom.outputs.fileName }}
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
- builds/*
\ No newline at end of file
+ builds/*
+ sbom.spdx.json
+ - name: Attest build provenance
+ uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
+ with:
+ subject-path: "builds/*"
diff --git a/.gitignore b/.gitignore
index b9f8d986..7e275b7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,16 +1,4 @@
-# Binaries for programs and plugins
-*.exe
-*.exe~
-*.dll
-*.so
-*.dylib
-
-# Test binary, built with `go test -c`
-*.test
-
-/vendor
-/.idea
-site/
-
-/builds/lagoon-cli-*
-./temp_config.yaml
+/dist
+/cover.out
+/cover.out.raw
+/sbom.spdx.json
diff --git a/Dockerfile b/Dockerfile
index de426c8b..3f176367 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.21-alpine as build
+FROM golang:1.21-alpine AS build
WORKDIR /go/src/github.com/uselagoon/lagoon-cli/
COPY . .
diff --git a/Makefile b/Makefile
index 15779bfe..b4e83784 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,8 @@ build-linux: test
GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOCMD) build -ldflags '${LDFLAGS} -X "${PKG}/cmd.lagoonCLIBuildGoVersion=${GO_VER}"' -o builds/lagoon-cli-${VERSION}-linux-amd64 -v
build-darwin: test
GO111MODULE=on CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(GOCMD) build -ldflags '${LDFLAGS} -X "${PKG}/cmd.lagoonCLIBuildGoVersion=${GO_VER}"' -o builds/lagoon-cli-${VERSION}-darwin-amd64 -v
+build-darwin-arm64: test
+ GO111MODULE=on CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 $(GOCMD) build -ldflags '${LDFLAGS} -X "${PKG}/cmd.lagoonCLIBuildGoVersion=${GO_VER}"' -o builds/lagoon-cli-${VERSION}-darwin-arm64 -v
docs: test
LAGOON_GEN_DOCS=true GO111MODULE=on $(GOCMD) run main.go --docs
diff --git a/README.md b/README.md
index ee57bb1c..67847158 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,12 @@
## Lagoon CLI
+[![Go Reference](https://pkg.go.dev/badge/github.com/uselagoon/lagoon-cli.svg)](https://pkg.go.dev/github.com/uselagoon/lagoon-cli)
+[![Release](https://github.com/uselagoon/lagoon-cli/actions/workflows/goreleaser.yaml/badge.svg)](https://github.com/uselagoon/lagoon-cli/actions/workflows/goreleaser.yaml)
+[![coverage](https://raw.githubusercontent.com/uselagoon/lagoon-cli/badges/.badges/main/coverage.svg)](https://github.com/uselagoon/lagoon-cli/actions/workflows/coverage.yaml)
+[![Go Report Card](https://goreportcard.com/badge/github.com/uselagoon/lagoon-cli)](https://goreportcard.com/report/github.com/uselagoon/lagoon-cli)
+[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/uselagoon/lagoon-cli/badge)](https://securityscorecards.dev/viewer/?uri=github.com/uselagoon/lagoon-cli)
+[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9386/badge)](https://www.bestpractices.dev/projects/9386)
+
This is a CLI for interacting with a [Lagoon](https://github.com/uselagoon/lagoon) instance. By default, it is configured
@@ -27,20 +34,38 @@ lagoon
### Commands
For the full list of commands see the docs for [Lagoon CLI](https://uselagoon.github.io/lagoon-cli/commands/lagoon/)
-## Build
+## Building
+
+### Requirements
+
+Install `Go` - https://go.dev/doc/install
+
+You also need `mockgen`, it can be installed using the following command once `Go` is installed.
-Note: You should make sure you have your `GOPATH` configured and in your path if you are going to build the lagoon CLI. If you haven't got `go` installed and are using the docker method, you can export `GOPATH` to be somewhere else in your `PATH` for binaries.
+```
+go install go.uber.org/mock/mockgen@v0.4.0
+```
+
+Note: You should make sure you have your `GOPATH` configured and in your path, see https://pkg.go.dev/cmd/go#hdr-GOPATH_environment_variable
### Run tests
```
make test
-make test-docker
```
### Build locally
+
+You can compile the binary and load it into your `GOPATH` bin directory using the following.
+```
+make build
+```
+
+Alternatively, these will compile a binary inside a `builds` directory in this repository, you can place them wherever you wish.
```
make build-linux
-make build-darwin #macos
+#macos
+make build-darwin
+make build-darwin-arm64
```
### Build using Docker
@@ -57,14 +82,6 @@ make all-docker-linux
make all-docker-darwin
```
-### Releasing
-New releases can be created by running one of the following, this will create the version bump and update the `gh-pages` branch
-```
-make release-patch
-make release-minor
-make release-major
-```
-
### Install
```
make ARTIFACT_DESTINATION=/usr/local/bin install-linux
@@ -77,8 +94,6 @@ Versions can also be defined, and the binaries will be version tagged
make VERSION=v0.0.1 ...
```
-
-
### Acknowledgements
[Matt Glaman](https://github.com/mglaman) - Initial conception and development - Thanks Matt!
diff --git a/cmd/config.go b/cmd/config.go
index b0c43c89..e012b958 100644
--- a/cmd/config.go
+++ b/cmd/config.go
@@ -39,7 +39,7 @@ func parseLagoonConfig(flags pflag.FlagSet) LagoonConfigFlags {
})
jsonStr, _ := json.Marshal(configMap)
parsedFlags := LagoonConfigFlags{}
- json.Unmarshal(jsonStr, &parsedFlags)
+ _ = json.Unmarshal(jsonStr, &parsedFlags)
return parsedFlags
}
@@ -55,12 +55,10 @@ var configDefaultCmd = &cobra.Command{
Use: "default",
Aliases: []string{"d"},
Short: "Set the default Lagoon to use",
- Run: func(cmd *cobra.Command, args []string) {
+ RunE: func(cmd *cobra.Command, args []string) error {
lagoonConfig := parseLagoonConfig(*cmd.Flags())
if lagoonConfig.Lagoon == "" {
- fmt.Println("Not enough arguments")
- cmd.Help()
- os.Exit(1)
+ return fmt.Errorf("not enough arguments")
}
lagoonCLIConfig.Default = strings.TrimSpace(string(lagoonConfig.Lagoon))
contextExists := false
@@ -70,8 +68,7 @@ var configDefaultCmd = &cobra.Command{
}
}
if !contextExists {
- fmt.Println(fmt.Printf("Chosen context '%s' doesn't exist in config file", lagoonCLIConfig.Current))
- os.Exit(1)
+ return fmt.Errorf("chosen context '%s' doesn't exist in config file", lagoonCLIConfig.Current)
}
err := writeLagoonConfig(&lagoonCLIConfig, filepath.Join(configFilePath, configName+configExtension))
handleError(err)
@@ -84,6 +81,7 @@ var configDefaultCmd = &cobra.Command{
}
r := output.RenderResult(resultData, outputOptions)
fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
+ return nil
},
}
@@ -217,7 +215,7 @@ var configDeleteCmd = &cobra.Command{
if lagoonConfig.Lagoon == "" {
fmt.Println("Missing arguments: Lagoon name is not defined")
- cmd.Help()
+ _ = cmd.Help()
os.Exit(1)
}
if yesNo(fmt.Sprintf("You are attempting to delete config for lagoon '%s', are you sure?", lagoonConfig.Lagoon)) {
@@ -247,6 +245,16 @@ var configFeatureSwitch = &cobra.Command{
case "false":
lagoonCLIConfig.EnvironmentFromDirectory = false
}
+ strictHostKeyChecking, err := cmd.Flags().GetString("strict-host-key-checking")
+ if err != nil {
+ output.RenderError(err.Error(), outputOptions)
+ os.Exit(1)
+ }
+ strictHostKeyCheckingProvided := cmd.Flags().Lookup("strict-host-key-checking").Changed
+ if strictHostKeyCheckingProvided {
+ lagoonCLIConfig.StrictHostKeyChecking = strictHostKeyChecking
+ }
+
if err := writeLagoonConfig(&lagoonCLIConfig, filepath.Join(configFilePath, configName+configExtension)); err != nil {
output.RenderError(err.Error(), outputOptions)
os.Exit(1)
@@ -299,6 +307,7 @@ var configLagoonVersionCmd = &cobra.Command{
var updateCheck string
var environmentFromDirectory string
+var strictHostKeyChecking string
var fullConfigList bool
func init() {
@@ -333,6 +342,8 @@ func init() {
"Enable or disable checking of updates (true/false)")
configFeatureSwitch.Flags().StringVarP(&environmentFromDirectory, "enable-local-dir-check", "", "",
"Enable or disable checking of local directory for Lagoon project (true/false)")
+ configFeatureSwitch.Flags().StringVar(&strictHostKeyChecking, "strict-host-key-checking", "",
+ "Enable or disable StrictHostKeyChecking (yes, no, ignore)")
}
// readLagoonConfig reads the lagoon config from specified file.
diff --git a/cmd/deploy.go b/cmd/deploy.go
index c3b99d5b..48543185 100644
--- a/cmd/deploy.go
+++ b/cmd/deploy.go
@@ -3,9 +3,10 @@ package cmd
import (
"context"
"fmt"
- "github.com/uselagoon/lagoon-cli/pkg/output"
"strconv"
+ "github.com/uselagoon/lagoon-cli/pkg/output"
+
lclient "github.com/uselagoon/machinery/api/lagoon/client"
"github.com/spf13/cobra"
@@ -38,7 +39,7 @@ use 'lagoon deploy latest' instead`,
if err != nil {
return err
}
- branchRef, err := cmd.Flags().GetString("branchRef")
+ branchRef, err := cmd.Flags().GetString("branch-ref")
if err != nil {
return err
}
diff --git a/cmd/deploytargetconfig.go b/cmd/deploytargetconfig.go
index 84864777..e5e94a2e 100644
--- a/cmd/deploytargetconfig.go
+++ b/cmd/deploytargetconfig.go
@@ -57,13 +57,8 @@ var addDeployTargetConfigCmd = &cobra.Command{
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
addDeployTargetConfig := &schema.AddDeployTargetConfigInput{
- Project: project.ID,
- Weight: weight,
+ Weight: weight,
}
if branches != "" {
addDeployTargetConfig.Branches = branches
@@ -75,9 +70,9 @@ var addDeployTargetConfigCmd = &cobra.Command{
addDeployTargetConfig.DeployTarget = deploytarget
}
if yesNo(fmt.Sprintf("You are attempting to add a deploytarget configuration to project '%s', are you sure?", cmdProjectName)) {
- deployTargetConfig, err := lagoon.AddDeployTargetConfiguration(context.TODO(), addDeployTargetConfig, lc)
+ deployTargetConfig, err := lagoon.AddDeployTargetConfigurationByProjectName(context.TODO(), cmdProjectName, addDeployTargetConfig, lc)
if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project exists", err.Error())
}
data := []output.Data{}
data = append(data, []string{
@@ -162,7 +157,7 @@ var updateDeployTargetConfigCmd = &cobra.Command{
if branches != "" {
updateDeployTargetConfig.Branches = branches
}
- if branches != "" {
+ if pullrequests != "" {
updateDeployTargetConfig.Pullrequests = pullrequests
}
if deploytarget != 0 {
@@ -234,20 +229,10 @@ var deleteDeployTargetConfigCmd = &cobra.Command{
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
- if project.Name == "" {
- outputOptions.Error = fmt.Sprintf("No details for project '%s'", cmdProjectName)
- output.RenderError(outputOptions.Error, outputOptions)
- return nil
- }
-
if yesNo(fmt.Sprintf("You are attempting to delete deploytarget configuration with id '%d' from project '%s', are you sure?", id, cmdProjectName)) {
- result, err := lagoon.DeleteDeployTargetConfiguration(context.TODO(), int(id), int(project.ID), lc)
+ result, err := lagoon.DeleteDeployTargetConfigurationByIDAndProjectName(context.TODO(), id, cmdProjectName, lc)
if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project exists", err.Error())
}
resultData := output.Result{
Result: result.DeleteDeployTargetConfig,
@@ -286,18 +271,12 @@ var listDeployTargetConfigsCmd = &cobra.Command{
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
+ deployTargetConfigs, err := lagoon.GetDeployTargetConfigsByProjectName(context.TODO(), cmdProjectName, lc)
if err != nil {
- return err
- }
- if project.Name == "" {
- outputOptions.Error = fmt.Sprintf("No details for project '%s'", cmdProjectName)
- output.RenderError(outputOptions.Error, outputOptions)
- return nil
+ return fmt.Errorf("%v: check if the project exists", err.Error())
}
- deployTargetConfigs, err := lagoon.GetDeployTargetConfigs(context.TODO(), int(project.ID), lc)
- if err != nil {
- return err
+ if len(*deployTargetConfigs) == 0 {
+ return handleNilResults("No deploytarget-configs for project '%s'\n", cmd, cmdProjectName)
}
data := []output.Data{}
for _, deployTargetConfig := range *deployTargetConfigs {
diff --git a/cmd/environment.go b/cmd/environment.go
index f77a06fc..4311f1a1 100644
--- a/cmd/environment.go
+++ b/cmd/environment.go
@@ -8,16 +8,11 @@ import (
"github.com/uselagoon/machinery/api/schema"
"github.com/spf13/cobra"
- "github.com/spf13/pflag"
"github.com/uselagoon/lagoon-cli/pkg/output"
"github.com/uselagoon/machinery/api/lagoon"
lclient "github.com/uselagoon/machinery/api/lagoon/client"
)
-// @TODO re-enable this at some point if more environment based commands are made available
-var environmentAutoIdle uint
-var environmentAutoIdleProvided bool
-
var deleteEnvCmd = &cobra.Command{
Use: "environment",
Aliases: []string{"e"},
@@ -105,8 +100,11 @@ var updateEnvironmentCmd = &cobra.Command{
if err != nil {
return err
}
-
- cmd.Flags().Visit(checkFlags)
+ autoIdle, err := cmd.Flags().GetBool("auto-idle")
+ if err != nil {
+ return err
+ }
+ autoIdleProvided := cmd.Flags().Lookup("auto-idle").Changed
if err := requiredInputCheck("Project name", cmdProjectName, "Environment name", cmdProjectEnvironment); err != nil {
return err
@@ -120,19 +118,10 @@ var updateEnvironmentCmd = &cobra.Command{
lagoonCLIConfig.Lagoons[current].Version,
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if project.Name == "" {
- err = fmt.Errorf("project not found")
- }
- if err != nil {
- return err
- }
- environment, err := lagoon.GetEnvironmentByName(context.TODO(), cmdProjectEnvironment, project.ID, lc)
- if environment.Name == "" {
- err = fmt.Errorf("environment not found")
- }
+
+ environment, err := lagoon.GetEnvironmentByNameAndProjectName(context.TODO(), cmdProjectEnvironment, cmdProjectName, lc)
if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project or environment exists", err.Error())
}
environmentFlags := schema.UpdateEnvironmentPatchInput{
@@ -144,8 +133,8 @@ var updateEnvironmentCmd = &cobra.Command{
DeployTitle: nullStrCheck(deployTitle),
Openshift: nullUintCheck(deploytarget),
}
- if environmentAutoIdleProvided {
- environmentFlags.AutoIdle = &environmentAutoIdle
+ if autoIdleProvided {
+ environmentFlags.AutoIdle = nullBoolToUint(autoIdle)
}
if environmentType != "" {
envType := schema.EnvType(strings.ToUpper(environmentType))
@@ -179,12 +168,6 @@ var updateEnvironmentCmd = &cobra.Command{
},
}
-func checkFlags(f *pflag.Flag) {
- if f.Name == "auto-idle" {
- environmentAutoIdleProvided = true
- }
-}
-
var listBackupsCmd = &cobra.Command{
Use: "backups",
Aliases: []string{"b"},
@@ -210,13 +193,9 @@ var listBackupsCmd = &cobra.Command{
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
+ backupsResult, err := lagoon.GetBackupsForEnvironmentByNameAndProjectName(context.TODO(), cmdProjectEnvironment, cmdProjectName, lc)
if err != nil {
- return err
- }
- backupsResult, err := lagoon.GetBackupsForEnvironmentByName(context.TODO(), cmdProjectEnvironment, project.ID, lc)
- if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project or environment exists", err.Error())
}
data := []output.Data{}
for _, backup := range backupsResult.Backups {
@@ -281,13 +260,9 @@ This returns a direct URL to the backup, this is a signed download link with a l
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
+ backupsResult, err := lagoon.GetBackupsForEnvironmentByNameAndProjectName(context.TODO(), cmdProjectEnvironment, cmdProjectName, lc)
if err != nil {
- return err
- }
- backupsResult, err := lagoon.GetBackupsForEnvironmentByName(context.TODO(), cmdProjectEnvironment, project.ID, lc)
- if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project or environment exists", err.Error())
}
status := ""
for _, backup := range backupsResult.Backups {
@@ -317,7 +292,7 @@ func init() {
updateEnvironmentCmd.Flags().String("namespace", "", "Update the namespace for the selected environment")
updateEnvironmentCmd.Flags().String("route", "", "Update the route for the selected environment")
updateEnvironmentCmd.Flags().String("routes", "", "Update the routes for the selected environment")
- updateEnvironmentCmd.Flags().UintVarP(&environmentAutoIdle, "auto-idle", "a", 1, "Auto idle setting of the environment")
+ updateEnvironmentCmd.Flags().BoolP("auto-idle", "a", false, "Auto idle setting of the environment. Set to enable, --auto-idle=false to disable")
updateEnvironmentCmd.Flags().UintP("deploytarget", "d", 0, "Reference to Deploytarget(Kubernetes) this Environment should be deployed to")
updateEnvironmentCmd.Flags().String("environment-type", "", "Update the environment type - production | development")
updateEnvironmentCmd.Flags().String("deploy-type", "", "Update the deploy type - branch | pullrequest | promote")
diff --git a/cmd/get.go b/cmd/get.go
index 8e378078..54eb74fd 100644
--- a/cmd/get.go
+++ b/cmd/get.go
@@ -63,10 +63,7 @@ var getProjectCmd = &cobra.Command{
}
if project.Name == "" {
- outputOptions.Error = fmt.Sprintf("No details for project '%s'\n", cmdProjectName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("No details for project '%s'\n", cmd, cmdProjectName)
}
devEnvironments := 0
@@ -102,7 +99,11 @@ var getProjectCmd = &cobra.Command{
returnNonEmptyString(fmt.Sprintf("%v", project.GitURL)),
returnNonEmptyString(fmt.Sprintf("%v", project.ProductionEnvironment)),
returnNonEmptyString(fmt.Sprintf("%v", productionRoute)),
- returnNonEmptyString(fmt.Sprintf("%v/%v", devEnvironments, *project.DevelopmentEnvironmentsLimit)),
+ }
+ if project.DevelopmentEnvironmentsLimit != nil {
+ projData = append(projData, returnNonEmptyString(fmt.Sprintf("%v/%v", devEnvironments, *project.DevelopmentEnvironmentsLimit)))
+ } else {
+ projData = append(projData, returnNonEmptyString(fmt.Sprintf("%v/%v", devEnvironments, 0)))
}
projHeader := []string{"ID", "ProjectName", "GitUrl", "ProductionEnvironment", "ProductionRoute", "DevEnvironments"}
if wide {
@@ -148,6 +149,10 @@ This returns information about a deployment, the logs of this build can also be
if err != nil {
return err
}
+ wide, err := cmd.Flags().GetBool("wide")
+ if err != nil {
+ return err
+ }
showLogs, err := cmd.Flags().GetBool("logs")
if err != nil {
return err
@@ -183,27 +188,35 @@ This returns information about a deployment, the logs of this build can also be
fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
return nil
}
+ data := []output.Data{}
+ dep := []string{
+ returnNonEmptyString(fmt.Sprintf("%v", deployment.ID)),
+ returnNonEmptyString(fmt.Sprintf("%v", deployment.Name)),
+ returnNonEmptyString(fmt.Sprintf("%v", deployment.Status)),
+ returnNonEmptyString(fmt.Sprintf("%v", deployment.BuildStep)),
+ returnNonEmptyString(fmt.Sprintf("%v", deployment.Started)),
+ returnNonEmptyString(fmt.Sprintf("%v", deployment.Completed)),
+ }
+ if wide {
+ dep = append(dep, returnNonEmptyString(fmt.Sprintf("%v", deployment.Created)))
+ dep = append(dep, returnNonEmptyString(fmt.Sprintf("%v", deployment.RemoteID)))
+ }
+ data = append(data, dep)
+ header := []string{
+ "ID",
+ "Name",
+ "Status",
+ "BuildStep",
+ "Started",
+ "Completed",
+ }
+ if wide {
+ header = append(header, "Created")
+ header = append(header, "RemoteID")
+ }
dataMain := output.Table{
- Header: []string{
- "ID",
- "RemoteID",
- "Name",
- "Status",
- "Created",
- "Started",
- "Completed",
- },
- Data: []output.Data{
- {
- returnNonEmptyString(fmt.Sprintf("%v", deployment.ID)),
- returnNonEmptyString(fmt.Sprintf("%v", deployment.RemoteID)),
- returnNonEmptyString(fmt.Sprintf("%v", deployment.Name)),
- returnNonEmptyString(fmt.Sprintf("%v", deployment.Status)),
- returnNonEmptyString(fmt.Sprintf("%v", deployment.Created)),
- returnNonEmptyString(fmt.Sprintf("%v", deployment.Started)),
- returnNonEmptyString(fmt.Sprintf("%v", deployment.Completed)),
- },
- },
+ Header: header,
+ Data: data,
}
r := output.RenderOutput(dataMain, outputOptions)
fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
@@ -247,6 +260,19 @@ var getEnvironmentCmd = &cobra.Command{
return err
}
+ if project.Name == "" || environment.Name == "" {
+ if project.Name == "" {
+ return handleNilResults("Project '%s' not found\n", cmd, cmdProjectName)
+ } else {
+ return handleNilResults("Environment '%s' not found in project '%s'\n", cmd, cmdProjectEnvironment, cmdProjectName)
+ }
+ }
+
+ autoIdle, err := strconv.ParseBool(strconv.Itoa(int(*environment.AutoIdle)))
+ if err != nil {
+ return err
+ }
+
data := []output.Data{}
var envRoute = "none"
if environment.Route != "" {
@@ -267,7 +293,7 @@ var getEnvironmentCmd = &cobra.Command{
envHeader = append(envHeader, "Created")
envData = append(envData, returnNonEmptyString(fmt.Sprintf("%v", environment.Created)))
envHeader = append(envHeader, "AutoIdle")
- envData = append(envData, returnNonEmptyString(fmt.Sprintf("%v", environment.AutoIdle)))
+ envData = append(envData, returnNonEmptyString(fmt.Sprintf("%v", autoIdle)))
envHeader = append(envHeader, "DeployTitle")
envData = append(envData, returnNonEmptyString(fmt.Sprintf("%v", environment.DeployTitle)))
envHeader = append(envHeader, "DeployBaseRef")
@@ -315,8 +341,15 @@ var getProjectKeyCmd = &cobra.Command{
projectKey, err := lagoon.GetProjectKeyByName(context.TODO(), cmdProjectName, revealValue, lc)
if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project exists", err.Error())
}
+ if projectKey.PublicKey == "" {
+ return handleNilResults("No project-key for project '%s'\n", cmd, cmdProjectName)
+ }
+ if revealValue && projectKey.PrivateKey == "" {
+ return handleNilResults("No private-key for project '%s'\n", cmd, cmdProjectName)
+ }
+
projectKeys := []string{projectKey.PublicKey}
if projectKey.PrivateKey != "" {
projectKeys = append(projectKeys, strings.TrimSuffix(projectKey.PrivateKey, "\n"))
@@ -331,13 +364,6 @@ var getProjectKeyCmd = &cobra.Command{
Data: data,
}
- if len(dataMain.Data) == 0 {
- outputOptions.Error = fmt.Sprintf("No project-key for project '%s'", cmdProjectName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
- }
-
if projectKey.PrivateKey != "" {
dataMain.Header = append(dataMain.Header, "PrivateKey")
}
@@ -402,9 +428,9 @@ var getOrganizationCmd = &cobra.Command{
strconv.Itoa(int(organization.ID)),
organization.Name,
organization.Description,
- strconv.Itoa(int(organization.QuotaProject)),
- strconv.Itoa(int(organization.QuotaGroup)),
- strconv.Itoa(int(organization.QuotaNotification)),
+ strconv.Itoa(organization.QuotaProject),
+ strconv.Itoa(organization.QuotaGroup),
+ strconv.Itoa(organization.QuotaNotification),
})
dataMain := output.Table{
@@ -433,6 +459,7 @@ func init() {
getProjectKeyCmd.Flags().BoolVarP(&revealValue, "reveal", "", false, "Reveal the variable values")
getDeploymentByNameCmd.Flags().StringP("name", "N", "", "The name of the deployment (eg, lagoon-build-abcdef)")
getDeploymentByNameCmd.Flags().BoolP("logs", "L", false, "Show the build logs if available")
+ getDeploymentByNameCmd.Flags().Bool("wide", false, "Display additional information about deployments")
getOrganizationCmd.Flags().StringP("organization-name", "O", "", "Name of the organization")
getEnvironmentCmd.Flags().Bool("wide", false, "Display additional information about the environment")
getProjectCmd.Flags().Bool("wide", false, "Display additional information about the project")
diff --git a/cmd/groups.go b/cmd/groups.go
index a337a9cc..ec779b29 100644
--- a/cmd/groups.go
+++ b/cmd/groups.go
@@ -209,18 +209,9 @@ var addProjectToGroupCmd = &cobra.Command{
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
- if len(project.Name) == 0 {
- outputOptions.Error = fmt.Sprintf("Project '%s' not found", cmdProjectName)
- output.RenderError(outputOptions.Error, outputOptions)
- return nil
- }
_, err = lagoon.AddProjectToGroup(context.TODO(), projectGroup, lc)
if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project or group exists", err.Error())
}
resultData := output.Result{
@@ -330,20 +321,10 @@ var deleteProjectFromGroupCmd = &cobra.Command{
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
- if len(project.Name) == 0 {
- outputOptions.Error = fmt.Sprintf("Project '%s' not found", cmdProjectName)
- output.RenderError(outputOptions.Error, outputOptions)
- return nil
- }
-
if yesNo(fmt.Sprintf("You are attempting to delete project '%s' from group '%s', are you sure?", projectGroup.Project.Name, projectGroup.Groups[0].Name)) {
_, err = lagoon.RemoveGroupsFromProject(context.TODO(), projectGroup, lc)
if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project or group exists", err.Error())
}
resultData := output.Result{
diff --git a/cmd/helpers_test.go b/cmd/helpers_test.go
index 762d632a..54e18460 100644
--- a/cmd/helpers_test.go
+++ b/cmd/helpers_test.go
@@ -157,7 +157,11 @@ func Test_flagStringNullValueOrNil(t *testing.T) {
for k, v := range tt.args.flags {
flags.StringP(k, "", "", "")
if v != nil {
- flags.Set(k, v.(string))
+ err := flags.Set(k, v.(string))
+ if (err != nil) != tt.wantErr {
+ t.Errorf("flagStringNullValueOrNil() error setting flags = %v, wantErr %v", err, tt.wantErr)
+ return
+ }
}
}
got, err := flagStringNullValueOrNil(flags, tt.args.flag)
diff --git a/cmd/list.go b/cmd/list.go
index c1b8a934..1345d8cf 100644
--- a/cmd/list.go
+++ b/cmd/list.go
@@ -75,7 +75,11 @@ var listProjectsCmd = &cobra.Command{
returnNonEmptyString(fmt.Sprintf("%v", project.GitURL)),
returnNonEmptyString(fmt.Sprintf("%v", project.ProductionEnvironment)),
returnNonEmptyString(fmt.Sprintf("%v", productionRoute)),
- returnNonEmptyString(fmt.Sprintf("%v/%v", devEnvironments, *project.DevelopmentEnvironmentsLimit)),
+ }
+ if project.DevelopmentEnvironmentsLimit != nil {
+ projData = append(projData, returnNonEmptyString(fmt.Sprintf("%v/%v", devEnvironments, *project.DevelopmentEnvironmentsLimit)))
+ } else {
+ projData = append(projData, returnNonEmptyString(fmt.Sprintf("%v/%v", devEnvironments, 0)))
}
// if wide {
// projData = append(projData, returnNonEmptyString(fmt.Sprintf("%v", project.AutoIdle)))
@@ -89,7 +93,7 @@ var listProjectsCmd = &cobra.Command{
data = append(data, projData)
}
if len(data) == 0 {
- outputOptions.Error = "No access to any projects in Lagoon\n"
+ return handleNilResults("No access to any projects in Lagoon\n", cmd)
}
projHeader := []string{"ID", "ProjectName", "GitUrl", "ProductionEnvironment", "ProductionRoute", "DevEnvironments"}
// if wide {
@@ -230,7 +234,7 @@ var listGroupsCmd = &cobra.Command{
})
}
if len(data) == 0 {
- outputOptions.Error = "This account is not in any groups\n"
+ return handleNilResults("This account is not in any groups\n", cmd)
}
dataMain := output.Table{
Header: []string{"ID", "Name"},
@@ -307,13 +311,10 @@ var listGroupProjectsCmd = &cobra.Command{
}
if len(data) == 0 {
if !listAllProjects {
- outputOptions.Error = fmt.Sprintf("There are no projects in group '%s'\n", groupName)
+ return handleNilResults("There are no projects in group '%s'\n", cmd, groupName)
} else {
- outputOptions.Error = "There are no projects in any groups\n"
+ return handleNilResults("There are no projects in any groups\n", cmd)
}
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
}
dataMain := output.Table{
@@ -359,10 +360,7 @@ var listEnvironmentsCmd = &cobra.Command{
}
if len(*environments) == 0 {
- outputOptions.Error = fmt.Sprintf("No environments found for project '%s'\n", cmdProjectName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("No environments found for project '%s'\n", cmd, cmdProjectName)
}
data := []output.Data{}
@@ -457,13 +455,10 @@ var listVariablesCmd = &cobra.Command{
}
if len(data) == 0 {
if cmdProjectEnvironment != "" {
- outputOptions.Error = fmt.Sprintf("There are no variables for environment '%s' in project '%s'\n", cmdProjectEnvironment, cmdProjectName)
+ return handleNilResults("There are no variables for environment '%s' in project '%s'\n", cmd, cmdProjectEnvironment, cmdProjectName)
} else {
- outputOptions.Error = fmt.Sprintf("There are no variables for project '%s'\n", cmdProjectName)
+ return handleNilResults("There are no variables for project '%s'\n", cmd, cmdProjectName)
}
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
}
r := output.RenderOutput(output.Table{
Header: header,
@@ -486,6 +481,10 @@ var listDeploymentsCmd = &cobra.Command{
if err != nil {
return err
}
+ wide, err := cmd.Flags().GetBool("wide")
+ if err != nil {
+ return err
+ }
if err := requiredInputCheck("Project name", cmdProjectName, "Environment name", cmdProjectEnvironment); err != nil {
return err
}
@@ -499,37 +498,45 @@ var listDeploymentsCmd = &cobra.Command{
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
+ deployments, err := lagoon.GetDeploymentsByEnvironmentAndProjectName(context.TODO(), cmdProjectName, cmdProjectEnvironment, lc)
if err != nil {
- return err
- }
-
- deployments, err := lagoon.GetDeploymentsByEnvironment(context.TODO(), project.ID, cmdProjectEnvironment, lc)
- if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project or environment exists", err.Error())
}
data := []output.Data{}
for _, deployment := range deployments.Deployments {
- data = append(data, []string{
+ dep := []string{
returnNonEmptyString(fmt.Sprintf("%d", deployment.ID)),
- returnNonEmptyString(fmt.Sprintf("%v", deployment.RemoteID)),
returnNonEmptyString(fmt.Sprintf("%v", deployment.Name)),
returnNonEmptyString(fmt.Sprintf("%v", deployment.Status)),
- returnNonEmptyString(fmt.Sprintf("%v", deployment.Created)),
+ returnNonEmptyString(fmt.Sprintf("%v", deployment.BuildStep)),
returnNonEmptyString(fmt.Sprintf("%v", deployment.Started)),
returnNonEmptyString(fmt.Sprintf("%v", deployment.Completed)),
- })
+ }
+ if wide {
+ dep = append(dep, returnNonEmptyString(fmt.Sprintf("%v", deployment.Created)))
+ dep = append(dep, returnNonEmptyString(fmt.Sprintf("%v", deployment.RemoteID)))
+ }
+ data = append(data, dep)
}
if len(data) == 0 {
- outputOptions.Error = fmt.Sprintf("There are no deployments for environment '%s' in project '%s'\n", cmdProjectEnvironment, cmdProjectName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("There are no deployments for environment '%s' in project '%s'\n", cmd, cmdProjectEnvironment, cmdProjectName)
+ }
+ header := []string{
+ "ID",
+ "Name",
+ "Status",
+ "BuildStep",
+ "Started",
+ "Completed",
+ }
+ if wide {
+ header = append(header, "Created")
+ header = append(header, "RemoteID")
}
dataMain := output.Table{
- Header: []string{"ID", "RemoteID", "Name", "Status", "Created", "Started", "Completed"},
+ Header: header,
Data: data,
}
r := output.RenderOutput(dataMain, outputOptions)
@@ -563,14 +570,9 @@ var listTasksCmd = &cobra.Command{
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
-
- tasks, err := lagoon.GetTasksByEnvironment(context.TODO(), project.ID, cmdProjectEnvironment, lc)
+ tasks, err := lagoon.GetTasksByEnvironmentAndProjectName(context.TODO(), cmdProjectName, cmdProjectEnvironment, lc)
if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project or environment exists", err.Error())
}
data := []output.Data{}
@@ -588,10 +590,7 @@ var listTasksCmd = &cobra.Command{
}
if len(data) == 0 {
- outputOptions.Error = fmt.Sprintf("There are no tasks for environment '%s' in project '%s'\n", cmdProjectEnvironment, cmdProjectName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("There are no tasks for environment '%s' in project '%s'\n", cmd, cmdProjectEnvironment, cmdProjectName)
}
dataMain := output.Table{
Header: []string{"ID", "RemoteID", "Name", "Status", "Created", "Started", "Completed", "Service"},
@@ -801,13 +800,9 @@ var listInvokableTasks = &cobra.Command{
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
+ tasks, err := lagoon.GetInvokableAdvancedTaskDefinitionsByEnvironmentAndProjectName(context.TODO(), cmdProjectName, cmdProjectEnvironment, lc)
if err != nil {
- return err
- }
- tasks, err := lagoon.GetInvokableAdvancedTaskDefinitionsByEnvironment(context.TODO(), project.ID, cmdProjectEnvironment, lc)
- if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project or environment exists", err.Error())
}
data := []output.Data{}
@@ -819,10 +814,7 @@ var listInvokableTasks = &cobra.Command{
}
if len(data) == 0 {
- outputOptions.Error = "There are no user defined tasks for this environment\n"
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("There are no user defined tasks for environment %s\n", cmd, cmdProjectEnvironment)
}
dataMain := output.Table{
Header: []string{"Task Name", "Description"},
@@ -873,10 +865,7 @@ var listProjectGroupsCmd = &cobra.Command{
}
if len(projectGroups.Groups) == 0 {
- outputOptions.Error = fmt.Sprintf("There are no groups for project '%s'\n", cmdProjectName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("There are no groups for project '%s'\n", cmd, cmdProjectName)
}
data := []output.Data{}
@@ -943,10 +932,7 @@ var listOrganizationProjectsCmd = &cobra.Command{
}
if len(*orgProjects) == 0 {
- outputOptions.Error = fmt.Sprintf("No associated projects found for organization '%s'\n", organizationName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("No associated projects found for organization '%s'\n", cmd, organizationName)
}
data := []output.Data{}
@@ -1008,10 +994,7 @@ var listOrganizationGroupsCmd = &cobra.Command{
return err
}
if len(*orgGroups) == 0 {
- outputOptions.Error = fmt.Sprintf("No associated groups found for organization '%s'\n", organizationName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("No associated groups found for organization '%s'\n", cmd, organizationName)
}
data := []output.Data{}
@@ -1070,10 +1053,7 @@ var listOrganizationDeployTargetsCmd = &cobra.Command{
return err
}
if len(*deployTargets) == 0 {
- outputOptions.Error = fmt.Sprintf("No associated deploy targets found for organization '%s'\n", organizationName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("No associated deploy targets found for organization '%s'\n", cmd, organizationName)
}
data := []output.Data{}
@@ -1098,7 +1078,7 @@ var listOrganizationDeployTargetsCmd = &cobra.Command{
},
}
-var ListOrganizationUsersCmd = &cobra.Command{
+var listOrganizationUsersCmd = &cobra.Command{
Use: "organization-users",
Aliases: []string{"org-u"},
Short: "List users in an organization",
@@ -1151,9 +1131,9 @@ var ListOrganizationUsersCmd = &cobra.Command{
},
}
-var ListOrganizationAdminsCmd = &cobra.Command{
- Use: "organization-admins",
- Aliases: []string{"org-a"},
+var listOrganizationAdminsCmd = &cobra.Command{
+ Use: "organization-admininstrators",
+ Aliases: []string{"organization-admins", "org-admins", "org-a"},
Short: "List admins in an organization",
PreRunE: func(_ *cobra.Command, _ []string) error {
return validateTokenE(cmdLagoon)
@@ -1184,10 +1164,7 @@ var ListOrganizationAdminsCmd = &cobra.Command{
return err
}
if len(*users) == 0 {
- outputOptions.Error = fmt.Sprintf("No associated users found for organization '%s'\n", organizationName)
- r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
- fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
- return nil
+ return handleNilResults("No associated users found for organization '%s'\n", cmd, organizationName)
}
data := []output.Data{}
for _, user := range *users {
@@ -1269,6 +1246,7 @@ var listOrganizationsCmd = &cobra.Command{
func init() {
listCmd.AddCommand(listDeployTargetsCmd)
listCmd.AddCommand(listDeploymentsCmd)
+ listDeploymentsCmd.Flags().Bool("wide", false, "Display additional information about deployments")
listCmd.AddCommand(listGroupsCmd)
listCmd.AddCommand(listGroupProjectsCmd)
listCmd.AddCommand(listProjectGroupsCmd)
@@ -1284,8 +1262,8 @@ func init() {
listCmd.AddCommand(listAllUsersCmd)
listCmd.AddCommand(listUsersGroupsCmd)
listCmd.AddCommand(listOrganizationProjectsCmd)
- listCmd.AddCommand(ListOrganizationUsersCmd)
- listCmd.AddCommand(ListOrganizationAdminsCmd)
+ listCmd.AddCommand(listOrganizationUsersCmd)
+ listCmd.AddCommand(listOrganizationAdminsCmd)
listCmd.AddCommand(listOrganizationGroupsCmd)
listCmd.AddCommand(listOrganizationDeployTargetsCmd)
listCmd.AddCommand(listOrganizationsCmd)
@@ -1297,8 +1275,8 @@ func init() {
listGroupProjectsCmd.Flags().BoolP("all-projects", "", false, "All projects")
listVariablesCmd.Flags().BoolP("reveal", "", false, "Reveal the variable values")
listOrganizationProjectsCmd.Flags().StringP("organization-name", "O", "", "Name of the organization to list associated projects for")
- ListOrganizationUsersCmd.Flags().StringP("organization-name", "O", "", "Name of the organization to list associated users for")
- ListOrganizationAdminsCmd.Flags().StringP("organization-name", "O", "", "Name of the organization to list associated users for")
+ listOrganizationUsersCmd.Flags().StringP("organization-name", "O", "", "Name of the organization to list associated users for")
+ listOrganizationAdminsCmd.Flags().StringP("organization-name", "O", "", "Name of the organization to list associated users for")
listOrganizationGroupsCmd.Flags().StringP("organization-name", "O", "", "Name of the organization to list associated groups for")
listOrganizationDeployTargetsCmd.Flags().StringP("organization-name", "O", "", "Name of the organization to list associated deploy targets for")
listOrganizationDeployTargetsCmd.Flags().Uint("id", 0, "ID of the organization to list associated deploy targets for")
diff --git a/cmd/login.go b/cmd/login.go
index 158b1bdd..5aa16b44 100644
--- a/cmd/login.go
+++ b/cmd/login.go
@@ -9,6 +9,7 @@ import (
"strings"
"github.com/spf13/cobra"
+ lagoonssh "github.com/uselagoon/lagoon-cli/pkg/lagoon/ssh"
"golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/agent"
terminal "golang.org/x/term"
@@ -139,19 +140,30 @@ func retrieveTokenViaSsh() (string, error) {
privateKey = cmdSSHKey
skipAgent = true
}
+ ignoreHostKey, acceptNewHostKey := lagoonssh.CheckStrictHostKey(strictHostKeyCheck)
+ sshHost := fmt.Sprintf("%s:%s",
+ lagoonCLIConfig.Lagoons[lagoonCLIConfig.Current].HostName,
+ lagoonCLIConfig.Lagoons[lagoonCLIConfig.Current].Port)
+ hkcb, hkalgo, err := lagoonssh.InteractiveKnownHosts(userPath, sshHost, ignoreHostKey, acceptNewHostKey)
+ if err != nil {
+ return "", fmt.Errorf("couldn't get ~/.ssh/known_hosts: %v", err)
+ }
authMethod, closeSSHAgent := publicKey(privateKey, cmdPubkeyIdentity, lagoonCLIConfig.Lagoons[lagoonCLIConfig.Current].PublicKeyIdentities, skipAgent)
config := &ssh.ClientConfig{
User: "lagoon",
Auth: []ssh.AuthMethod{
authMethod,
},
- HostKeyCallback: ssh.InsecureIgnoreHostKey(),
+ HostKeyCallback: hkcb,
+ HostKeyAlgorithms: hkalgo,
}
- defer closeSSHAgent()
+ defer func() {
+ err = closeSSHAgent()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "error closing ssh agent:%v\n", err)
+ }
+ }()
- sshHost := fmt.Sprintf("%s:%s",
- lagoonCLIConfig.Lagoons[lagoonCLIConfig.Current].HostName,
- lagoonCLIConfig.Lagoons[lagoonCLIConfig.Current].Port)
conn, err := ssh.Dial("tcp", sshHost, config)
if err != nil {
return "", fmt.Errorf("unable to authenticate or connect to host %s\nthere may be an issue determining which ssh-key to use, or there may be an issue establishing a connection to the host\nthe error returned was: %v", sshHost, err)
diff --git a/cmd/logs.go b/cmd/logs.go
index edbf41aa..e484275f 100644
--- a/cmd/logs.go
+++ b/cmd/logs.go
@@ -4,7 +4,6 @@ import (
"context"
"fmt"
"os"
- "path"
"time"
"github.com/spf13/cobra"
@@ -12,8 +11,8 @@ import (
"github.com/uselagoon/lagoon-cli/pkg/output"
"github.com/uselagoon/machinery/api/lagoon"
lclient "github.com/uselagoon/machinery/api/lagoon/client"
+ "github.com/uselagoon/machinery/utils/namespace"
"golang.org/x/crypto/ssh"
- "golang.org/x/crypto/ssh/knownhosts"
)
var (
@@ -58,12 +57,13 @@ func generateLogsCommand(service, container string, lines uint,
return argv, nil
}
-func getSSHHostPort(environmentName string, debug bool) (string, string, error) {
+func getSSHHostPort(environmentName string, debug bool) (string, string, string, bool, error) {
current := lagoonCLIConfig.Current
// set the default ssh host and port to the core ssh endpoint
sshHost := lagoonCLIConfig.Lagoons[current].HostName
sshPort := lagoonCLIConfig.Lagoons[current].Port
token := lagoonCLIConfig.Lagoons[current].Token
+ portal := false
// get SSH Portal endpoint if required
lc := lclient.New(
@@ -76,23 +76,29 @@ func getSSHHostPort(environmentName string, debug bool) (string, string, error)
defer cancel()
project, err := lagoon.GetSSHEndpointsByProject(ctx, cmdProjectName, lc)
if err != nil {
- return "", "", fmt.Errorf("couldn't get SSH endpoint by project: %v", err)
+ return "", "", "", portal, fmt.Errorf("couldn't get SSH endpoint by project: %v", err)
}
+ // default the username to the combinded project + made safe environment name
+ username := fmt.Sprintf("%s-%s", cmdProjectName, environmentName)
+
// check all the environments for this project
for _, env := range project.Environments {
- // if the env name matches the requested environment then check if the deploytarget supports regional ssh endpoints
- if env.Name == environmentName {
+ // if the env name matches the requested or computed environment then check if the deploytarget supports regional ssh endpoints
+ if env.OpenshiftProjectName == namespace.GenerateNamespaceName("", cmdProjectEnvironment, cmdProjectName, "", "", false) || env.Name == environmentName || env.Name == cmdProjectEnvironment {
// if the deploytarget supports regional endpoints, then set these as the host and port for ssh
if env.DeployTarget.SSHHost != "" && env.DeployTarget.SSHPort != "" {
sshHost = env.DeployTarget.SSHHost
sshPort = env.DeployTarget.SSHPort
+ portal = true
}
+ // found a matching env, use the actual namespace name for this environment
+ username = env.OpenshiftProjectName
}
}
- return sshHost, sshPort, nil
+ return sshHost, sshPort, username, portal, nil
}
-func getSSHClientConfig(environmentName string) (*ssh.ClientConfig,
+func getSSHClientConfig(username, host string, ignoreHostKey, acceptNewHostKey bool) (*ssh.ClientConfig,
func() error, error) {
skipAgent := false
privateKey := fmt.Sprintf("%s/.ssh/id_rsa", userPath)
@@ -107,17 +113,19 @@ func getSSHClientConfig(environmentName string) (*ssh.ClientConfig,
skipAgent = true
}
// parse known_hosts
- kh, err := knownhosts.New(path.Join(userPath, ".ssh/known_hosts"))
+ hkcb, hkalgo, err := lagoonssh.InteractiveKnownHosts(userPath, host, ignoreHostKey, acceptNewHostKey)
if err != nil {
return nil, nil, fmt.Errorf("couldn't get ~/.ssh/known_hosts: %v", err)
}
+
// configure an SSH client session
authMethod, closeSSHAgent := publicKey(privateKey, cmdPubkeyIdentity, lagoonCLIConfig.Lagoons[lagoonCLIConfig.Current].PublicKeyIdentities, skipAgent)
return &ssh.ClientConfig{
- User: cmdProjectName + "-" + environmentName,
- Auth: []ssh.AuthMethod{authMethod},
- HostKeyCallback: kh,
- Timeout: connTimeout,
+ User: username,
+ Auth: []ssh.AuthMethod{authMethod},
+ HostKeyCallback: hkcb,
+ HostKeyAlgorithms: hkalgo,
+ Timeout: connTimeout,
}, closeSSHAgent, nil
}
@@ -136,6 +144,7 @@ var logsCmd = &cobra.Command{
if err != nil {
return fmt.Errorf("couldn't get debug value: %v", err)
}
+ ignoreHostKey, acceptNewHostKey := lagoonssh.CheckStrictHostKey(strictHostKeyCheck)
argv, err := generateLogsCommand(logsService, logsContainer, logsTailLines,
logsFollow)
if err != nil {
@@ -145,16 +154,21 @@ var logsCmd = &cobra.Command{
environmentName := makeSafe(
shortenEnvironment(cmdProjectName, cmdProjectEnvironment))
// query the Lagoon API for the environment's SSH endpoint
- sshHost, sshPort, err := getSSHHostPort(environmentName, debug)
+ sshHost, sshPort, username, _, err := getSSHHostPort(environmentName, debug)
if err != nil {
return fmt.Errorf("couldn't get SSH endpoint: %v", err)
}
// configure SSH client session
- sshConfig, closeSSHAgent, err := getSSHClientConfig(environmentName)
+ sshConfig, closeSSHAgent, err := getSSHClientConfig(username, fmt.Sprintf("%s:%s", sshHost, sshPort), ignoreHostKey, acceptNewHostKey)
if err != nil {
return fmt.Errorf("couldn't get SSH client config: %v", err)
}
- defer closeSSHAgent()
+ defer func() {
+ err = closeSSHAgent()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "error closing ssh agent:%v\n", err)
+ }
+ }()
// start SSH log streaming session
err = lagoonssh.LogStream(sshConfig, sshHost, sshPort, argv)
if err != nil {
diff --git a/cmd/notificationsemail.go b/cmd/notificationsemail.go
index 13d037ac..e89f2d6f 100644
--- a/cmd/notificationsemail.go
+++ b/cmd/notificationsemail.go
@@ -173,9 +173,9 @@ var listProjectEmailsCmd = &cobra.Command{
return err
}
if len(result.Name) == 0 {
- outputOptions.Error = fmt.Sprintf("No project found for '%s'\n", cmdProjectName)
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
} else if len(result.Notifications.Email) == 0 {
- outputOptions.Error = fmt.Sprintf("No email notificatons found for project: '%s'\n", cmdProjectName)
+ return handleNilResults("No email notificatons found for project: '%s'\n", cmd, cmdProjectName)
}
data := []output.Data{}
@@ -268,15 +268,24 @@ var deleteProjectEmailNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Project name", cmdProjectName, "Notification name", name); err != nil {
return err
}
+
+ current := lagoonCLIConfig.Current
+ token := lagoonCLIConfig.Lagoons[current].Token
+ lc := lclient.New(
+ lagoonCLIConfig.Lagoons[current].GraphQL,
+ lagoonCLIVersion,
+ lagoonCLIConfig.Lagoons[current].Version,
+ &token,
+ debug)
+
+ project, err := lagoon.GetProjectByName(context.TODO(), cmdProjectName, lc)
+ if err != nil {
+ return err
+ }
+ if project.Name == "" {
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
+ }
if yesNo(fmt.Sprintf("You are attempting to delete email notification '%s' from project '%s', are you sure?", name, cmdProjectName)) {
- current := lagoonCLIConfig.Current
- token := lagoonCLIConfig.Lagoons[current].Token
- lc := lclient.New(
- lagoonCLIConfig.Lagoons[current].GraphQL,
- lagoonCLIVersion,
- lagoonCLIConfig.Lagoons[current].Version,
- &token,
- debug)
notification := &schema.RemoveNotificationFromProjectInput{
NotificationType: schema.EmailNotification,
NotificationName: name,
@@ -315,6 +324,7 @@ var deleteEmailNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Notification name", name); err != nil {
return err
}
+ // Todo: Verify notifcation name exists - requires #PR https://github.com/uselagoon/lagoon/pull/3740
if yesNo(fmt.Sprintf("You are attempting to delete email notification '%s', are you sure?", name)) {
current := lagoonCLIConfig.Current
token := lagoonCLIConfig.Lagoons[current].Token
diff --git a/cmd/notificationsrocketchat.go b/cmd/notificationsrocketchat.go
index 5d507802..119264a7 100644
--- a/cmd/notificationsrocketchat.go
+++ b/cmd/notificationsrocketchat.go
@@ -182,9 +182,9 @@ var listProjectRocketChatsCmd = &cobra.Command{
return err
}
if len(result.Name) == 0 {
- outputOptions.Error = fmt.Sprintf("No project found for '%s'\n", cmdProjectName)
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
} else if len(result.Notifications.RocketChat) == 0 {
- outputOptions.Error = fmt.Sprintf("No rocketchat notificatons found for project: '%s'\n", cmdProjectName)
+ return handleNilResults("No RocketChat notifications found for project '%s'\n", cmd, cmdProjectName)
}
data := []output.Data{}
@@ -281,15 +281,25 @@ var deleteProjectRocketChatNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Project name", cmdProjectName, "Notification name", name); err != nil {
return err
}
+
+ current := lagoonCLIConfig.Current
+ token := lagoonCLIConfig.Lagoons[current].Token
+ lc := lclient.New(
+ lagoonCLIConfig.Lagoons[current].GraphQL,
+ lagoonCLIVersion,
+ lagoonCLIConfig.Lagoons[current].Version,
+ &token,
+ debug)
+
+ project, err := lagoon.GetProjectByName(context.TODO(), cmdProjectName, lc)
+ if err != nil {
+ return err
+ }
+ if project.Name == "" {
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
+ }
+
if yesNo(fmt.Sprintf("You are attempting to delete RocketChat notification '%s' from project '%s', are you sure?", name, cmdProjectName)) {
- current := lagoonCLIConfig.Current
- token := lagoonCLIConfig.Lagoons[current].Token
- lc := lclient.New(
- lagoonCLIConfig.Lagoons[current].GraphQL,
- lagoonCLIVersion,
- lagoonCLIConfig.Lagoons[current].Version,
- &token,
- debug)
notification := &schema.RemoveNotificationFromProjectInput{
NotificationType: schema.RocketChatNotification,
NotificationName: name,
@@ -328,6 +338,7 @@ var deleteRocketChatNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Notification name", name); err != nil {
return err
}
+ // Todo: Verify notifcation name exists - requires #PR https://github.com/uselagoon/lagoon/pull/3740
if yesNo(fmt.Sprintf("You are attempting to delete RocketChat notification '%s', are you sure?", name)) {
current := lagoonCLIConfig.Current
token := lagoonCLIConfig.Lagoons[current].Token
diff --git a/cmd/notificationsslack.go b/cmd/notificationsslack.go
index 7113d32e..2ff28ac6 100644
--- a/cmd/notificationsslack.go
+++ b/cmd/notificationsslack.go
@@ -180,9 +180,9 @@ var listProjectSlacksCmd = &cobra.Command{
return err
}
if len(result.Name) == 0 {
- outputOptions.Error = fmt.Sprintf("No project found for '%s'\n", cmdProjectName)
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
} else if len(result.Notifications.Slack) == 0 {
- outputOptions.Error = fmt.Sprintf("No slack notificatons found for project: '%s'\n", cmdProjectName)
+ return handleNilResults("No slack notificatons found for project: '%s'\n", cmd, cmdProjectName)
}
data := []output.Data{}
@@ -279,15 +279,25 @@ var deleteProjectSlackNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Project name", cmdProjectName, "Notification name", name); err != nil {
return err
}
+
+ current := lagoonCLIConfig.Current
+ token := lagoonCLIConfig.Lagoons[current].Token
+ lc := lclient.New(
+ lagoonCLIConfig.Lagoons[current].GraphQL,
+ lagoonCLIVersion,
+ lagoonCLIConfig.Lagoons[current].Version,
+ &token,
+ debug)
+
+ project, err := lagoon.GetProjectByName(context.TODO(), cmdProjectName, lc)
+ if err != nil {
+ return err
+ }
+ if project.Name == "" {
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
+ }
+
if yesNo(fmt.Sprintf("You are attempting to delete Slack notification '%s' from project '%s', are you sure?", name, cmdProjectName)) {
- current := lagoonCLIConfig.Current
- token := lagoonCLIConfig.Lagoons[current].Token
- lc := lclient.New(
- lagoonCLIConfig.Lagoons[current].GraphQL,
- lagoonCLIVersion,
- lagoonCLIConfig.Lagoons[current].Version,
- &token,
- debug)
notification := &schema.RemoveNotificationFromProjectInput{
NotificationType: schema.SlackNotification,
NotificationName: name,
@@ -326,6 +336,7 @@ var deleteSlackNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Notification name", name); err != nil {
return err
}
+ // Todo: Verify notifcation name exists - requires #PR https://github.com/uselagoon/lagoon/pull/3740
if yesNo(fmt.Sprintf("You are attempting to delete Slack notification '%s', are you sure?", name)) {
current := lagoonCLIConfig.Current
token := lagoonCLIConfig.Lagoons[current].Token
diff --git a/cmd/notificationsteams.go b/cmd/notificationsteams.go
index 49cb0ef5..97236881 100644
--- a/cmd/notificationsteams.go
+++ b/cmd/notificationsteams.go
@@ -173,9 +173,9 @@ var listProjectMicrosoftTeamsCmd = &cobra.Command{
return err
}
if len(result.Name) == 0 {
- outputOptions.Error = fmt.Sprintf("No project found for '%s'\n", cmdProjectName)
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
} else if len(result.Notifications.MicrosoftTeams) == 0 {
- outputOptions.Error = fmt.Sprintf("No microsoft teams notificatons found for project: '%s'\n", cmdProjectName)
+ return handleNilResults("No microsoft teams notificatons found for project: '%s'\n", cmd, cmdProjectName)
}
data := []output.Data{}
@@ -268,15 +268,25 @@ var deleteProjectMicrosoftTeamsNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Project name", cmdProjectName, "Notification name", name); err != nil {
return err
}
+
+ current := lagoonCLIConfig.Current
+ token := lagoonCLIConfig.Lagoons[current].Token
+ lc := lclient.New(
+ lagoonCLIConfig.Lagoons[current].GraphQL,
+ lagoonCLIVersion,
+ lagoonCLIConfig.Lagoons[current].Version,
+ &token,
+ debug)
+
+ project, err := lagoon.GetProjectByName(context.TODO(), cmdProjectName, lc)
+ if err != nil {
+ return err
+ }
+ if project.Name == "" {
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
+ }
+
if yesNo(fmt.Sprintf("You are attempting to delete Microsoft Teams notification '%s' from project '%s', are you sure?", name, cmdProjectName)) {
- current := lagoonCLIConfig.Current
- token := lagoonCLIConfig.Lagoons[current].Token
- lc := lclient.New(
- lagoonCLIConfig.Lagoons[current].GraphQL,
- lagoonCLIVersion,
- lagoonCLIConfig.Lagoons[current].Version,
- &token,
- debug)
notification := &schema.RemoveNotificationFromProjectInput{
NotificationType: schema.MicrosoftTeamsNotification,
NotificationName: name,
@@ -315,6 +325,7 @@ var deleteMicrosoftTeamsNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Notification name", name); err != nil {
return err
}
+ // Todo: Verify notifcation name exists - requires #PR https://github.com/uselagoon/lagoon/pull/3740
if yesNo(fmt.Sprintf("You are attempting to delete Microsoft Teams notification '%s', are you sure?", name)) {
current := lagoonCLIConfig.Current
token := lagoonCLIConfig.Lagoons[current].Token
diff --git a/cmd/notificationswebhook.go b/cmd/notificationswebhook.go
index 04125a0b..8340fd5d 100644
--- a/cmd/notificationswebhook.go
+++ b/cmd/notificationswebhook.go
@@ -173,9 +173,9 @@ var listProjectWebhooksCmd = &cobra.Command{
return err
}
if len(result.Name) == 0 {
- outputOptions.Error = fmt.Sprintf("No project found for '%s'\n", cmdProjectName)
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
} else if len(result.Notifications.Webhook) == 0 {
- outputOptions.Error = fmt.Sprintf("No webhook notificatons found for project: '%s'\n", cmdProjectName)
+ return handleNilResults("No webhook notificatons found for project: '%s'\n", cmd, cmdProjectName)
}
data := []output.Data{}
@@ -268,15 +268,25 @@ var deleteProjectWebhookNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Project name", cmdProjectName, "Notification name", name); err != nil {
return err
}
+
+ current := lagoonCLIConfig.Current
+ token := lagoonCLIConfig.Lagoons[current].Token
+ lc := lclient.New(
+ lagoonCLIConfig.Lagoons[current].GraphQL,
+ lagoonCLIVersion,
+ lagoonCLIConfig.Lagoons[current].Version,
+ &token,
+ debug)
+
+ project, err := lagoon.GetProjectByName(context.TODO(), cmdProjectName, lc)
+ if err != nil {
+ return err
+ }
+ if project.Name == "" {
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
+ }
+
if yesNo(fmt.Sprintf("You are attempting to delete webhook notification '%s' from project '%s', are you sure?", name, cmdProjectName)) {
- current := lagoonCLIConfig.Current
- token := lagoonCLIConfig.Lagoons[current].Token
- lc := lclient.New(
- lagoonCLIConfig.Lagoons[current].GraphQL,
- lagoonCLIVersion,
- lagoonCLIConfig.Lagoons[current].Version,
- &token,
- debug)
notification := &schema.RemoveNotificationFromProjectInput{
NotificationType: schema.WebhookNotification,
NotificationName: name,
@@ -315,6 +325,7 @@ var deleteWebhookNotificationCmd = &cobra.Command{
if err := requiredInputCheck("Notification name", name); err != nil {
return err
}
+ // Todo: Verify notifcation name exists - requires #PR https://github.com/uselagoon/lagoon/pull/3740
if yesNo(fmt.Sprintf("You are attempting to delete webhook notification '%s', are you sure?", name)) {
current := lagoonCLIConfig.Current
token := lagoonCLIConfig.Lagoons[current].Token
diff --git a/cmd/project.go b/cmd/project.go
index fe64dd40..1b640282 100644
--- a/cmd/project.go
+++ b/cmd/project.go
@@ -393,18 +393,9 @@ var updateProjectCmd = &cobra.Command{
}
}
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
+ projectUpdate, err := lagoon.UpdateProjectByName(context.TODO(), cmdProjectName, projectPatch, lc)
if err != nil {
- return err
- }
- if project.Name == "" {
- outputOptions.Error = fmt.Sprintf("Project '%s' not found\n", cmdProjectName)
- output.RenderError(outputOptions.Error, outputOptions)
- return nil
- }
- projectUpdate, err := lagoon.UpdateProject(context.TODO(), int(project.ID), projectPatch, lc)
- if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project exists", err.Error())
}
resultData := output.Result{
@@ -460,9 +451,9 @@ var listProjectByMetadata = &cobra.Command{
}
if len(*projects) == 0 {
if value != "" {
- outputOptions.Error = fmt.Sprintf("No projects found with metadata key '%s' and value '%s'\n", key, value)
+ return handleNilResults("No projects found with metadata key '%s' and value '%s'\n", cmd, key, value)
}
- outputOptions.Error = fmt.Sprintf("No projects found with metadata key '%s'\n", key)
+ return handleNilResults("No projects found with metadata key '%s'\n", cmd, key)
}
data := []output.Data{}
for _, project := range *projects {
@@ -520,7 +511,7 @@ var getProjectMetadata = &cobra.Command{
return err
}
if len(project.Metadata) == 0 {
- outputOptions.Error = fmt.Sprintf("There is no metadata for project '%s'\n", cmdProjectName)
+ return handleNilResults("There is no metadata for project '%s'\n", cmd, cmdProjectName)
}
data := []output.Data{}
for metaKey, metaVal := range project.Metadata {
@@ -575,13 +566,10 @@ var updateProjectMetadata = &cobra.Command{
lagoonCLIConfig.Lagoons[current].Version,
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
- projectResult, err := lagoon.UpdateProjectMetadata(context.TODO(), int(project.ID), key, value, lc)
+
+ projectResult, err := lagoon.UpdateProjectMetadataByName(context.TODO(), cmdProjectName, key, value, lc)
if err != nil {
- return err
+ return fmt.Errorf("%v: check if the project exists", err.Error())
}
data := []output.Data{}
metaData, _ := json.Marshal(projectResult.Metadata)
@@ -632,11 +620,8 @@ var deleteProjectMetadataByKey = &cobra.Command{
lagoonCLIConfig.Lagoons[current].Version,
&token,
debug)
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
- projectResult, err := lagoon.RemoveProjectMetadataByKey(context.TODO(), int(project.ID), key, lc)
+
+ projectResult, err := lagoon.RemoveProjectMetadataByKeyByName(context.TODO(), cmdProjectName, key, lc)
if err != nil {
return err
}
@@ -692,10 +677,14 @@ var removeProjectFromOrganizationCmd = &cobra.Command{
&token,
debug)
+ // this can stay for now as `removeProjectFromOrganization` is platform only scoped
project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
if err != nil {
return err
}
+ if project.Name == "" {
+ return handleNilResults("No project found for '%s'\n", cmd, cmdProjectName)
+ }
organization, err := lagoon.GetOrganizationByName(context.TODO(), organizationName, lc)
if err != nil {
return err
diff --git a/cmd/root.go b/cmd/root.go
index fb902cee..96a21d0b 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -41,6 +41,8 @@ var verboseOutput bool
var skipUpdateCheck bool
+var strictHostKeyCheck string
+
// global for the lagoon config that the cli uses
// @TODO: when lagoon-cli rewrite happens, do this a bit better
var lagoonCLIConfig lagooncli.Config
@@ -61,23 +63,26 @@ var rootCmd = &cobra.Command{
if lagoonCLIConfig.UpdateCheckDisable {
skipUpdateCheck = true
}
+ if lagoonCLIConfig.StrictHostKeyChecking != "" {
+ strictHostKeyCheck = lagoonCLIConfig.StrictHostKeyChecking
+ }
if !skipUpdateCheck {
// Using code from https://github.com/drud/ddev/
updateFile := filepath.Join(userPath, ".lagoon.update")
// Do periodic detection of whether an update is available for lagoon-cli users.
timeToCheckForUpdates, err := updatecheck.IsUpdateNeeded(updateFile, updateInterval)
if err != nil {
- output.RenderInfo(fmt.Sprintf("Could not perform update check %v", err), outputOptions)
+ output.RenderInfo(fmt.Sprintf("Could not perform update check %v\n", err), outputOptions)
}
if timeToCheckForUpdates && isInternetActive() {
// Recreate the updatefile with current time so we won't do this again soon.
err = updatecheck.ResetUpdateTime(updateFile)
if err != nil {
- output.RenderInfo(fmt.Sprintf("Failed to update updatecheck file %s", updateFile), outputOptions)
+ output.RenderInfo(fmt.Sprintf("Failed to update updatecheck file %s\n", updateFile), outputOptions)
}
updateNeeded, updateURL, err := updatecheck.AvailableUpdates("uselagoon", "lagoon-cli", lagoonCLIVersion)
if err != nil {
- output.RenderInfo("Could not check for updates. This is most often caused by a networking issue.", outputOptions)
+ output.RenderInfo("Could not check for updates. This is most often caused by a networking issue.\n", outputOptions)
output.RenderError(err.Error(), outputOptions)
return
}
@@ -101,7 +106,7 @@ var rootCmd = &cobra.Command{
displayVersionInfo()
return
}
- cmd.Help()
+ _ = cmd.Help()
os.Exit(1)
},
}
@@ -142,6 +147,7 @@ func init() {
rootCmd.PersistentFlags().BoolVarP(&debugEnable, "debug", "", false, "Enable debugging output (if supported)")
rootCmd.PersistentFlags().BoolVarP(&skipUpdateCheck, "skip-update-check", "", false, "Skip checking for updates")
rootCmd.PersistentFlags().BoolVarP(&verboseOutput, "verbose", "v", false, "Enable verbose output to stderr (if supported)")
+ rootCmd.PersistentFlags().StringVar(&strictHostKeyCheck, "strict-host-key-checking", "accept-new", "Similar to SSH StrictHostKeyChecking (accept-new, no, ignore)")
// get config-file from flag
rootCmd.PersistentFlags().StringP("config-file", "", "", "Path to the config file to use (must be *.yml or *.yaml)")
@@ -149,7 +155,7 @@ func init() {
rootCmd.Flags().BoolVarP(&versionFlag, "version", "", false, "Version information")
rootCmd.Flags().BoolVarP(&docsFlag, "docs", "", false, "Generate docs")
- rootCmd.Flags().MarkHidden("docs")
+ _ = rootCmd.Flags().MarkHidden("docs")
rootCmd.SetUsageTemplate(`Usage:{{if .Runnable}}
{{.UseLine}}{{end}}{{if .HasAvailableSubCommands}}
diff --git a/cmd/shared.go b/cmd/shared.go
index a81c72a4..a40bf502 100644
--- a/cmd/shared.go
+++ b/cmd/shared.go
@@ -2,6 +2,7 @@ package cmd
import (
"fmt"
+ "github.com/spf13/cobra"
"os"
"strings"
@@ -107,3 +108,11 @@ func requiredInputCheck(fieldsAndValues ...string) error {
}
return nil
}
+
+// Outputs the message in a way that can be captured by testing
+func handleNilResults(message string, cmd *cobra.Command, fields ...interface{}) error {
+ outputOptions.Error = fmt.Sprintf(message, fields...)
+ r := output.RenderOutput(output.Table{Data: []output.Data{[]string{}}}, outputOptions)
+ fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
+ return nil
+}
diff --git a/cmd/ssh.go b/cmd/ssh.go
index 003b5dee..38d9a404 100644
--- a/cmd/ssh.go
+++ b/cmd/ssh.go
@@ -1,13 +1,9 @@
package cmd
import (
- "context"
"fmt"
"os"
- "github.com/uselagoon/machinery/api/lagoon"
- lclient "github.com/uselagoon/machinery/api/lagoon/client"
-
"github.com/spf13/cobra"
lagoonssh "github.com/uselagoon/lagoon-cli/pkg/lagoon/ssh"
"github.com/uselagoon/lagoon-cli/pkg/output"
@@ -33,43 +29,16 @@ var sshEnvCmd = &cobra.Command{
if err != nil {
return err
}
+ ignoreHostKey, acceptNewHostKey := lagoonssh.CheckStrictHostKey(strictHostKeyCheck)
// allow the use of the `feature/branch` and standard `feature-branch` type environment names to be used
// since ssh requires the `feature-branch` type name to be used as the ssh username
// run the environment through the makesafe and shorted functions that lagoon uses
environmentName := makeSafe(shortenEnvironment(cmdProjectName, cmdProjectEnvironment))
-
- current := lagoonCLIConfig.Current
- // set the default ssh host and port to the core ssh endpoint
- sshHost := lagoonCLIConfig.Lagoons[current].HostName
- sshPort := lagoonCLIConfig.Lagoons[current].Port
- isPortal := false
-
- // if the config for this lagoon is set to use ssh portal support, handle that here
- token := lagoonCLIConfig.Lagoons[current].Token
- lc := lclient.New(
- lagoonCLIConfig.Lagoons[current].GraphQL,
- lagoonCLIVersion,
- lagoonCLIConfig.Lagoons[current].Version,
- &token,
- debug)
- project, err := lagoon.GetSSHEndpointsByProject(context.TODO(), cmdProjectName, lc)
+ sshHost, sshPort, username, isPortal, err := getSSHHostPort(environmentName, debug)
if err != nil {
- return err
- }
- // check all the environments for this project
- for _, env := range project.Environments {
- // if the env name matches the requested environment then check if the deploytarget supports regional ssh endpoints
- if env.Name == environmentName {
- // if the deploytarget supports regional endpoints, then set these as the host and port for ssh
- if env.DeployTarget.SSHHost != "" && env.DeployTarget.SSHPort != "" {
- sshHost = env.DeployTarget.SSHHost
- sshPort = env.DeployTarget.SSHPort
- isPortal = true
- }
- }
+ return fmt.Errorf("couldn't get SSH endpoint: %v", err)
}
-
// get private key that the cli is using
skipAgent := false
@@ -87,13 +56,16 @@ var sshEnvCmd = &cobra.Command{
sshConfig := map[string]string{
"hostname": sshHost,
"port": sshPort,
- "username": cmdProjectName + "-" + environmentName,
+ "username": username,
"sshkey": privateKey,
}
if sshConnString {
fmt.Println(generateSSHConnectionString(sshConfig, sshService, sshContainer, isPortal))
} else {
-
+ hkcb, hkalgo, err := lagoonssh.InteractiveKnownHosts(userPath, fmt.Sprintf("%s:%s", sshHost, sshPort), ignoreHostKey, acceptNewHostKey)
+ if err != nil {
+ return fmt.Errorf("couldn't get ~/.ssh/known_hosts: %v", err)
+ }
// start an interactive ssh session
authMethod, closeSSHAgent := publicKey(privateKey, cmdPubkeyIdentity, lagoonCLIConfig.Lagoons[lagoonCLIConfig.Current].PublicKeyIdentities, skipAgent)
config := &ssh.ClientConfig{
@@ -101,10 +73,15 @@ var sshEnvCmd = &cobra.Command{
Auth: []ssh.AuthMethod{
authMethod,
},
- HostKeyCallback: ssh.InsecureIgnoreHostKey(),
+ HostKeyCallback: hkcb,
+ HostKeyAlgorithms: hkalgo,
}
- defer closeSSHAgent()
- var err error
+ defer func() {
+ err = closeSSHAgent()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "error closing ssh agent:%v\n", err)
+ }
+ }()
if sshCommand != "" {
err = lagoonssh.RunSSHCommand(sshConfig, sshService, sshContainer, sshCommand, config)
} else {
diff --git a/cmd/tasks.go b/cmd/tasks.go
index 02272424..a934ca00 100644
--- a/cmd/tasks.go
+++ b/cmd/tasks.go
@@ -149,11 +149,7 @@ var runDrushArchiveDump = &cobra.Command{
return err
}
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
- environment, err := lagoon.GetEnvironmentByName(context.TODO(), cmdProjectEnvironment, project.ID, lc)
+ environment, err := lagoon.GetEnvironmentByNameAndProjectName(context.TODO(), cmdProjectEnvironment, cmdProjectName, lc)
if err != nil {
return err
}
@@ -218,11 +214,7 @@ var runDrushSQLDump = &cobra.Command{
return err
}
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
- environment, err := lagoon.GetEnvironmentByName(context.TODO(), cmdProjectEnvironment, project.ID, lc)
+ environment, err := lagoon.GetEnvironmentByNameAndProjectName(context.TODO(), cmdProjectEnvironment, cmdProjectName, lc)
if err != nil {
return err
}
@@ -287,11 +279,7 @@ var runDrushCacheClear = &cobra.Command{
return err
}
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
- environment, err := lagoon.GetEnvironmentByName(context.TODO(), cmdProjectEnvironment, project.ID, lc)
+ environment, err := lagoon.GetEnvironmentByNameAndProjectName(context.TODO(), cmdProjectEnvironment, cmdProjectName, lc)
if err != nil {
return err
}
@@ -476,11 +464,7 @@ Path:
Command: taskCommand,
Service: taskService,
}
- project, err := lagoon.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc)
- if err != nil {
- return err
- }
- environment, err := lagoon.GetEnvironmentByName(context.TODO(), cmdProjectEnvironment, project.ID, lc)
+ environment, err := lagoon.GetEnvironmentByNameAndProjectName(context.TODO(), cmdProjectEnvironment, cmdProjectName, lc)
if err != nil {
return err
}
diff --git a/cmd/users.go b/cmd/users.go
index 71ef3cf7..129eb18d 100644
--- a/cmd/users.go
+++ b/cmd/users.go
@@ -15,52 +15,32 @@ import (
"github.com/uselagoon/lagoon-cli/pkg/output"
)
-func parseSSHKeyFile(sshPubKey string, keyName string, keyValue string, userEmail string) (schema.AddSSHKeyInput, error) {
+func parseSSHKeyFile(sshPubKey string, keyName string, keyValue string, userEmail string) (*schema.AddUserSSHPublicKeyInput, error) {
// if we haven't got a keyvalue
if keyValue == "" {
b, err := os.ReadFile(sshPubKey) // just pass the file name
- handleError(err)
+ if err != nil {
+ return nil, err
+ }
keyValue = string(b)
}
splitKey := strings.Split(keyValue, " ")
- var keyType schema.SSHKeyType
- var err error
-
- // will fail if value is not right
- if strings.EqualFold(string(splitKey[0]), "ssh-rsa") {
- keyType = schema.SSHRsa
- } else if strings.EqualFold(string(splitKey[0]), "ssh-ed25519") {
- keyType = schema.SSHEd25519
- } else if strings.EqualFold(string(splitKey[0]), "ecdsa-sha2-nistp256") {
- keyType = schema.SSHECDSA256
- } else if strings.EqualFold(string(splitKey[0]), "ecdsa-sha2-nistp384") {
- keyType = schema.SSHECDSA384
- } else if strings.EqualFold(string(splitKey[0]), "ecdsa-sha2-nistp521") {
- keyType = schema.SSHECDSA521
- } else {
- // return error stating key type not supported
- keyType = schema.SSHRsa
- err = fmt.Errorf(fmt.Sprintf("SSH key type %s not supported", splitKey[0]))
- }
// if the sshkey has a comment/name in it, we can use that
if keyName == "" && len(splitKey) == 3 {
- //strip new line
+ // strip new line
keyName = stripNewLines(splitKey[2])
} else if keyName == "" && len(splitKey) == 2 {
keyName = userEmail
- output.RenderInfo("no name provided, using email address as key name", outputOptions)
+ output.RenderInfo("no name provided, using email address as key name\n", outputOptions)
}
- SSHKeyInput := schema.AddSSHKeyInput{
- SSHKey: schema.SSHKey{
- KeyType: keyType,
- KeyValue: stripNewLines(splitKey[1]),
- Name: keyName,
- },
+ SSHKeyInput := schema.AddUserSSHPublicKeyInput{
+ PublicKey: keyValue,
+ Name: keyName,
UserEmail: userEmail,
}
- return SSHKeyInput, err
+ return &SSHKeyInput, nil
}
var addUserCmd = &cobra.Command{
@@ -109,6 +89,7 @@ var addUserCmd = &cobra.Command{
LastName: LastName,
Email: email,
ResetPassword: resetPassword,
+ Comment: "added via lagoon-cli",
}
user, err := lagoon.AddUser(context.TODO(), userInput, lc)
if err != nil {
@@ -189,7 +170,7 @@ Add key by defining key value, but not specifying a key name (will default to tr
if err != nil {
return err
}
- result, err := lagoon.AddSSHKey(context.TODO(), &userSSHKey, lc)
+ result, err := lagoon.AddUserSSHPublicKey(context.TODO(), userSSHKey, lc)
if err != nil {
return err
}
@@ -236,7 +217,7 @@ var deleteSSHKeyCmd = &cobra.Command{
debug)
if yesNo(fmt.Sprintf("You are attempting to delete SSH key ID:'%d', are you sure?", sshKeyID)) {
- _, err := lagoon.RemoveSSHKey(context.TODO(), sshKeyID, lc)
+ _, err := lagoon.DeleteUserSSHPublicKey(context.TODO(), sshKeyID, lc)
if err != nil {
return err
}
@@ -330,7 +311,6 @@ var updateUserCmd = &cobra.Command{
return err
}
if firstName == "" && lastName == "" && emailAddress == "" {
- cmd.Help()
output.RenderError("Missing arguments: Nothing to update, please provide a field to update", outputOptions)
return nil
}
@@ -373,7 +353,7 @@ var updateUserCmd = &cobra.Command{
}
var getUserKeysCmd = &cobra.Command{
- //@TODO: once individual user interaction comes in, this will need to be adjusted
+ // @TODO: once individual user interaction comes in, this will need to be adjusted
Use: "user-sshkeys",
Aliases: []string{"us"},
Short: "Get a user's SSH keys",
@@ -407,8 +387,7 @@ var getUserKeysCmd = &cobra.Command{
return err
}
if len(userKeys.SSHKeys) == 0 {
- output.RenderInfo(fmt.Sprintf("No SSH keys for user '%s'", strings.ToLower(userEmail)), outputOptions)
- return nil
+ return handleNilResults("There are no SSH keys for user '%s'\n", cmd, strings.ToLower(userEmail))
}
data := []output.Data{}
@@ -435,7 +414,7 @@ var getUserKeysCmd = &cobra.Command{
}
var getAllUserKeysCmd = &cobra.Command{
- //@TODO: once individual user interaction comes in, this will need to be adjusted
+ // @TODO: once individual user interaction comes in, this will need to be adjusted
Use: "all-user-sshkeys",
Aliases: []string{"aus"},
Short: "Get all user SSH keys",
@@ -475,15 +454,15 @@ var getAllUserKeysCmd = &cobra.Command{
}
}
if len(userGroups) == 0 {
- outputOptions.Error = fmt.Sprintf("No SSH keys for group '%s'\n", groupName)
+ return handleNilResults("There are no SSH keys for users in group '%s'\n", cmd, groupName)
}
var data []output.Data
for _, userData := range userGroups {
keyID := strconv.Itoa(int(userData.SSHKey.ID))
- userEmail := returnNonEmptyString(strings.Replace(userData.UserEmail, " ", "_", -1))
- keyName := returnNonEmptyString(strings.Replace(userData.SSHKey.Name, " ", "_", -1))
- keyValue := returnNonEmptyString(strings.Replace(userData.SSHKey.KeyValue, " ", "_", -1))
- keyType := returnNonEmptyString(strings.Replace(string(userData.SSHKey.KeyType), " ", "_", -1))
+ userEmail := returnNonEmptyString(strings.ReplaceAll(userData.UserEmail, " ", "_"))
+ keyName := returnNonEmptyString(strings.ReplaceAll(userData.SSHKey.Name, " ", "_"))
+ keyValue := returnNonEmptyString(strings.ReplaceAll(userData.SSHKey.KeyValue, " ", "_"))
+ keyType := returnNonEmptyString(strings.ReplaceAll(string(userData.SSHKey.KeyType), " ", "_"))
data = append(data, []string{
keyID,
userEmail,
@@ -506,7 +485,7 @@ var getAllUserKeysCmd = &cobra.Command{
var addAdministratorToOrganizationCmd = &cobra.Command{
Use: "organization-administrator",
- Aliases: []string{"org-admin"},
+ Aliases: []string{"organization-admin", "org-admin", "org-a"},
Short: "Add an administrator to an Organization",
Long: "Add an administrator to an Organization. If the role flag is not provided users will be added as viewers",
PreRunE: func(_ *cobra.Command, _ []string) error {
@@ -585,7 +564,7 @@ var addAdministratorToOrganizationCmd = &cobra.Command{
var removeAdministratorFromOrganizationCmd = &cobra.Command{
Use: "organization-administrator",
- Aliases: []string{"org-admin"},
+ Aliases: []string{"organization-admin", "org-admin", "org-a"},
Short: "Remove an administrator from an Organization",
PreRunE: func(_ *cobra.Command, _ []string) error {
return validateTokenE(lagoonCLIConfig.Current)
diff --git a/cmd/variables.go b/cmd/variables.go
index c6a210ea..4a5a2714 100644
--- a/cmd/variables.go
+++ b/cmd/variables.go
@@ -91,7 +91,7 @@ var addVariableCmd = &cobra.Command{
}, outputOptions)
fmt.Fprintf(cmd.OutOrStdout(), "%s", r)
} else {
- output.RenderInfo(fmt.Sprintf("variable %s remained unchanged", varName), outputOptions)
+ return handleNilResults("Variable '%s' remained unchanged\n", cmd, varName)
}
return nil
},
diff --git a/cmd/web.go b/cmd/web.go
index e052a5a0..0e61338a 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -17,7 +17,7 @@ var webCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
if cmdProjectName == "" {
fmt.Println("Missing arguments: Project name is not defined")
- cmd.Help()
+ _ = cmd.Help()
os.Exit(1)
}
diff --git a/docs/commands/lagoon.md b/docs/commands/lagoon.md
index bbe54f1f..b2541563 100644
--- a/docs/commands/lagoon.md
+++ b/docs/commands/lagoon.md
@@ -13,23 +13,24 @@ lagoon [flags]
### Options
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -h, --help help for lagoon
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
- --version Version information
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -h, --help help for lagoon
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
+ --version Version information
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add.md b/docs/commands/lagoon_add.md
index fd8aa763..9cf5e59f 100644
--- a/docs/commands/lagoon_add.md
+++ b/docs/commands/lagoon_add.md
@@ -11,21 +11,22 @@ Add a project, or add notifications and variables to projects or environments
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_deploytarget-config.md b/docs/commands/lagoon_add_deploytarget-config.md
index 479b387d..d08bb610 100644
--- a/docs/commands/lagoon_add_deploytarget-config.md
+++ b/docs/commands/lagoon_add_deploytarget-config.md
@@ -19,21 +19,22 @@ lagoon add deploytarget-config [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_deploytarget.md b/docs/commands/lagoon_add_deploytarget.md
index 5470bdbd..745c8eb2 100644
--- a/docs/commands/lagoon_add_deploytarget.md
+++ b/docs/commands/lagoon_add_deploytarget.md
@@ -30,21 +30,22 @@ lagoon add deploytarget [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_group.md b/docs/commands/lagoon_add_group.md
index 06b039ae..505c3c16 100644
--- a/docs/commands/lagoon_add_group.md
+++ b/docs/commands/lagoon_add_group.md
@@ -23,21 +23,22 @@ lagoon add group [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification.md b/docs/commands/lagoon_add_notification.md
index e7746c9a..5cdfd709 100644
--- a/docs/commands/lagoon_add_notification.md
+++ b/docs/commands/lagoon_add_notification.md
@@ -11,21 +11,22 @@ Add notifications or add notifications to projects
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_email.md b/docs/commands/lagoon_add_notification_email.md
index 3b71cb37..ae511eff 100644
--- a/docs/commands/lagoon_add_notification_email.md
+++ b/docs/commands/lagoon_add_notification_email.md
@@ -24,21 +24,22 @@ lagoon add notification email [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_microsoftteams.md b/docs/commands/lagoon_add_notification_microsoftteams.md
index cb4c782c..fe1f4c98 100644
--- a/docs/commands/lagoon_add_notification_microsoftteams.md
+++ b/docs/commands/lagoon_add_notification_microsoftteams.md
@@ -24,21 +24,22 @@ lagoon add notification microsoftteams [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_project-email.md b/docs/commands/lagoon_add_notification_project-email.md
index 7f20eaf9..153a45cb 100644
--- a/docs/commands/lagoon_add_notification_project-email.md
+++ b/docs/commands/lagoon_add_notification_project-email.md
@@ -21,21 +21,22 @@ lagoon add notification project-email [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_project-microsoftteams.md b/docs/commands/lagoon_add_notification_project-microsoftteams.md
index 719c584e..6cfcd600 100644
--- a/docs/commands/lagoon_add_notification_project-microsoftteams.md
+++ b/docs/commands/lagoon_add_notification_project-microsoftteams.md
@@ -21,21 +21,22 @@ lagoon add notification project-microsoftteams [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_project-rocketchat.md b/docs/commands/lagoon_add_notification_project-rocketchat.md
index a9b092f3..7dd5c0ba 100644
--- a/docs/commands/lagoon_add_notification_project-rocketchat.md
+++ b/docs/commands/lagoon_add_notification_project-rocketchat.md
@@ -21,21 +21,22 @@ lagoon add notification project-rocketchat [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_project-slack.md b/docs/commands/lagoon_add_notification_project-slack.md
index 6e1d03ed..c0b3adb2 100644
--- a/docs/commands/lagoon_add_notification_project-slack.md
+++ b/docs/commands/lagoon_add_notification_project-slack.md
@@ -21,21 +21,22 @@ lagoon add notification project-slack [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_project-webhook.md b/docs/commands/lagoon_add_notification_project-webhook.md
index 048354c7..8940799a 100644
--- a/docs/commands/lagoon_add_notification_project-webhook.md
+++ b/docs/commands/lagoon_add_notification_project-webhook.md
@@ -21,21 +21,22 @@ lagoon add notification project-webhook [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_rocketchat.md b/docs/commands/lagoon_add_notification_rocketchat.md
index 064cc13c..147618d8 100644
--- a/docs/commands/lagoon_add_notification_rocketchat.md
+++ b/docs/commands/lagoon_add_notification_rocketchat.md
@@ -25,21 +25,22 @@ lagoon add notification rocketchat [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_slack.md b/docs/commands/lagoon_add_notification_slack.md
index 90ef8286..88524bd1 100644
--- a/docs/commands/lagoon_add_notification_slack.md
+++ b/docs/commands/lagoon_add_notification_slack.md
@@ -25,21 +25,22 @@ lagoon add notification slack [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_notification_webhook.md b/docs/commands/lagoon_add_notification_webhook.md
index 3b09e185..e8eb0b12 100644
--- a/docs/commands/lagoon_add_notification_webhook.md
+++ b/docs/commands/lagoon_add_notification_webhook.md
@@ -24,21 +24,22 @@ lagoon add notification webhook [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_organization-administrator.md b/docs/commands/lagoon_add_organization-administrator.md
index 27877aff..7f169c1a 100644
--- a/docs/commands/lagoon_add_organization-administrator.md
+++ b/docs/commands/lagoon_add_organization-administrator.md
@@ -22,21 +22,22 @@ lagoon add organization-administrator [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_organization-deploytarget.md b/docs/commands/lagoon_add_organization-deploytarget.md
index ee260124..bbef17a9 100644
--- a/docs/commands/lagoon_add_organization-deploytarget.md
+++ b/docs/commands/lagoon_add_organization-deploytarget.md
@@ -17,21 +17,22 @@ lagoon add organization-deploytarget [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_organization.md b/docs/commands/lagoon_add_organization.md
index da76c335..f9a74ed2 100644
--- a/docs/commands/lagoon_add_organization.md
+++ b/docs/commands/lagoon_add_organization.md
@@ -23,21 +23,22 @@ lagoon add organization [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_project-group.md b/docs/commands/lagoon_add_project-group.md
index 8c3cf964..31eb4807 100644
--- a/docs/commands/lagoon_add_project-group.md
+++ b/docs/commands/lagoon_add_project-group.md
@@ -16,21 +16,22 @@ lagoon add project-group [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_project-rocketchat.md b/docs/commands/lagoon_add_project-rocketchat.md
deleted file mode 100644
index 346a7962..00000000
--- a/docs/commands/lagoon_add_project-rocketchat.md
+++ /dev/null
@@ -1,41 +0,0 @@
-## lagoon add project-rocketchat
-
-Add a Rocket.Chat notification to a project
-
-### Synopsis
-
-Add a Rocket.Chat notification to a project
-This command is used to add an existing Rocket.Chat notification in Lagoon to a project.
-
-```
-lagoon add project-rocketchat [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-rocketchat
- -n, --name string The name of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon add](lagoon_add.md) - Add a project, or add notifications and variables to projects or environments
-
diff --git a/docs/commands/lagoon_add_project-slack.md b/docs/commands/lagoon_add_project-slack.md
deleted file mode 100644
index 1252eab7..00000000
--- a/docs/commands/lagoon_add_project-slack.md
+++ /dev/null
@@ -1,41 +0,0 @@
-## lagoon add project-slack
-
-Add a Slack notification to a project
-
-### Synopsis
-
-Add a Slack notification to a project
-This command is used to add an existing Slack notification in Lagoon to a project.
-
-```
-lagoon add project-slack [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-slack
- -n, --name string The name of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon add](lagoon_add.md) - Add a project, or add notifications and variables to projects or environments
-
diff --git a/docs/commands/lagoon_add_project.md b/docs/commands/lagoon_add_project.md
index 6e6c2edd..768678d8 100644
--- a/docs/commands/lagoon_add_project.md
+++ b/docs/commands/lagoon_add_project.md
@@ -38,21 +38,22 @@ lagoon add project [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_restore.md b/docs/commands/lagoon_add_restore.md
deleted file mode 100644
index d0af9e87..00000000
--- a/docs/commands/lagoon_add_restore.md
+++ /dev/null
@@ -1,42 +0,0 @@
-## lagoon add restore
-
-Restore a backup
-
-### Synopsis
-
-Restore a backup
-Given a backup-id, you can initiate a restore for it.
-You can check the status of the backup using the list backups or get backup command.
-
-```
-lagoon add restore [flags]
-```
-
-### Options
-
-```
- -B, --backup-id string The backup ID you want to restore
- -h, --help help for restore
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon add](lagoon_add.md) - Add a project, or add notifications and variables to projects or environments
-
diff --git a/docs/commands/lagoon_add_rocketchat.md b/docs/commands/lagoon_add_rocketchat.md
deleted file mode 100644
index 0ee19004..00000000
--- a/docs/commands/lagoon_add_rocketchat.md
+++ /dev/null
@@ -1,44 +0,0 @@
-## lagoon add rocketchat
-
-Add a new Rocket.Chat notification
-
-### Synopsis
-
-Add a new Rocket.Chat notification
-This command is used to set up a new Rocket.Chat notification in Lagoon. This requires information to talk to Rocket.Chat like the webhook URL and the name of the channel.
-It does not configure a project to send notifications to Rocket.Chat though, you need to use project-rocketchat for that.
-
-```
-lagoon add rocketchat [flags]
-```
-
-### Options
-
-```
- -c, --channel string The channel for the notification
- -h, --help help for rocketchat
- -n, --name string The name of the notification
- -w, --webhook string The webhook URL of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon add](lagoon_add.md) - Add a project, or add notifications and variables to projects or environments
-
diff --git a/docs/commands/lagoon_add_slack.md b/docs/commands/lagoon_add_slack.md
deleted file mode 100644
index 5c10a24d..00000000
--- a/docs/commands/lagoon_add_slack.md
+++ /dev/null
@@ -1,44 +0,0 @@
-## lagoon add slack
-
-Add a new Slack notification
-
-### Synopsis
-
-Add a new Slack notification
-This command is used to set up a new Slack notification in Lagoon. This requires information to talk to Slack like the webhook URL and the name of the channel.
-It does not configure a project to send notifications to Slack though, you need to use project-slack for that.
-
-```
-lagoon add slack [flags]
-```
-
-### Options
-
-```
- -c, --channel string The channel for the notification
- -h, --help help for slack
- -n, --name string The name of the notification
- -w, --webhook string The webhook URL of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon add](lagoon_add.md) - Add a project, or add notifications and variables to projects or environments
-
diff --git a/docs/commands/lagoon_add_user-group.md b/docs/commands/lagoon_add_user-group.md
index 68e6b8c8..c81e1218 100644
--- a/docs/commands/lagoon_add_user-group.md
+++ b/docs/commands/lagoon_add_user-group.md
@@ -18,21 +18,22 @@ lagoon add user-group [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_user-sshkey.md b/docs/commands/lagoon_add_user-sshkey.md
index 335f4b6b..40400d67 100644
--- a/docs/commands/lagoon_add_user-sshkey.md
+++ b/docs/commands/lagoon_add_user-sshkey.md
@@ -38,21 +38,22 @@ lagoon add user-sshkey [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_user.md b/docs/commands/lagoon_add_user.md
index ae6fe2ef..58085e8e 100644
--- a/docs/commands/lagoon_add_user.md
+++ b/docs/commands/lagoon_add_user.md
@@ -19,21 +19,22 @@ lagoon add user [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_add_variable.md b/docs/commands/lagoon_add_variable.md
deleted file mode 100644
index c95d3d90..00000000
--- a/docs/commands/lagoon_add_variable.md
+++ /dev/null
@@ -1,43 +0,0 @@
-## lagoon add variable
-
-Add a variable to an environment or project
-
-### Synopsis
-
-Add a variable to an environment or project
-
-```
-lagoon add variable [flags]
-```
-
-### Options
-
-```
- -h, --help help for variable
- -j, --json string JSON string to patch
- -N, --name string Name of the variable to add
- -S, --scope string Scope of the variable[global, build, runtime, container_registry, internal_container_registry]
- -V, --value string Value of the variable to add
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon add](lagoon_add.md) - Add a project, or add notifications and variables to projects or environments
-
diff --git a/docs/commands/lagoon_completion.md b/docs/commands/lagoon_completion.md
index dfc30c23..13fe1c92 100644
--- a/docs/commands/lagoon_completion.md
+++ b/docs/commands/lagoon_completion.md
@@ -17,21 +17,22 @@ See each sub-command's help for details on how to use the generated script.
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_completion_bash.md b/docs/commands/lagoon_completion_bash.md
index a2773274..73c225b8 100644
--- a/docs/commands/lagoon_completion_bash.md
+++ b/docs/commands/lagoon_completion_bash.md
@@ -40,21 +40,22 @@ lagoon completion bash
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_completion_fish.md b/docs/commands/lagoon_completion_fish.md
index 5d0e4cb8..29c4b55f 100644
--- a/docs/commands/lagoon_completion_fish.md
+++ b/docs/commands/lagoon_completion_fish.md
@@ -31,21 +31,22 @@ lagoon completion fish [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_completion_powershell.md b/docs/commands/lagoon_completion_powershell.md
index c5c4b77b..8fe081f3 100644
--- a/docs/commands/lagoon_completion_powershell.md
+++ b/docs/commands/lagoon_completion_powershell.md
@@ -28,21 +28,22 @@ lagoon completion powershell [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_completion_zsh.md b/docs/commands/lagoon_completion_zsh.md
index ed096bf2..de78cc8e 100644
--- a/docs/commands/lagoon_completion_zsh.md
+++ b/docs/commands/lagoon_completion_zsh.md
@@ -42,21 +42,22 @@ lagoon completion zsh [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_config.md b/docs/commands/lagoon_config.md
index e2663d7c..aca5db80 100644
--- a/docs/commands/lagoon_config.md
+++ b/docs/commands/lagoon_config.md
@@ -11,21 +11,22 @@ Configure Lagoon CLI
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_config_add.md b/docs/commands/lagoon_config_add.md
index 4654c871..87a35750 100644
--- a/docs/commands/lagoon_config_add.md
+++ b/docs/commands/lagoon_config_add.md
@@ -24,20 +24,21 @@ lagoon config add [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_config_current.md b/docs/commands/lagoon_config_current.md
index ca3f87e2..5be10b24 100644
--- a/docs/commands/lagoon_config_current.md
+++ b/docs/commands/lagoon_config_current.md
@@ -15,21 +15,22 @@ lagoon config current [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_config_default.md b/docs/commands/lagoon_config_default.md
index 6599ae93..398ec7f6 100644
--- a/docs/commands/lagoon_config_default.md
+++ b/docs/commands/lagoon_config_default.md
@@ -15,21 +15,22 @@ lagoon config default [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_config_delete.md b/docs/commands/lagoon_config_delete.md
index 06b5b2c0..97f7c120 100644
--- a/docs/commands/lagoon_config_delete.md
+++ b/docs/commands/lagoon_config_delete.md
@@ -15,21 +15,22 @@ lagoon config delete [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_config_feature.md b/docs/commands/lagoon_config_feature.md
index 40c178b8..182fb196 100644
--- a/docs/commands/lagoon_config_feature.md
+++ b/docs/commands/lagoon_config_feature.md
@@ -9,9 +9,10 @@ lagoon config feature [flags]
### Options
```
- --disable-update-check string Enable or disable checking of updates (true/false)
- --enable-local-dir-check string Enable or disable checking of local directory for Lagoon project (true/false)
- -h, --help help for feature
+ --disable-update-check string Enable or disable checking of updates (true/false)
+ --enable-local-dir-check string Enable or disable checking of local directory for Lagoon project (true/false)
+ -h, --help help for feature
+ --strict-host-key-checking string Enable or disable StrictHostKeyChecking (yes, no, ignore)
```
### Options inherited from parent commands
diff --git a/docs/commands/lagoon_config_lagoon-version.md b/docs/commands/lagoon_config_lagoon-version.md
index 4ff546ae..6486d67b 100644
--- a/docs/commands/lagoon_config_lagoon-version.md
+++ b/docs/commands/lagoon_config_lagoon-version.md
@@ -15,21 +15,22 @@ lagoon config lagoon-version [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_config_list.md b/docs/commands/lagoon_config_list.md
index b12f5aa9..c26f2a2e 100644
--- a/docs/commands/lagoon_config_list.md
+++ b/docs/commands/lagoon_config_list.md
@@ -16,21 +16,22 @@ lagoon config list [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete.md b/docs/commands/lagoon_delete.md
index 660c35d9..cdf34ab9 100644
--- a/docs/commands/lagoon_delete.md
+++ b/docs/commands/lagoon_delete.md
@@ -11,21 +11,22 @@ Delete a project, or delete notifications and variables from projects or environ
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_deploytarget-config.md b/docs/commands/lagoon_delete_deploytarget-config.md
index 6b045667..0cfcb703 100644
--- a/docs/commands/lagoon_delete_deploytarget-config.md
+++ b/docs/commands/lagoon_delete_deploytarget-config.md
@@ -16,21 +16,22 @@ lagoon delete deploytarget-config [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_deploytarget.md b/docs/commands/lagoon_delete_deploytarget.md
index eac38787..edaca764 100644
--- a/docs/commands/lagoon_delete_deploytarget.md
+++ b/docs/commands/lagoon_delete_deploytarget.md
@@ -21,21 +21,22 @@ lagoon delete deploytarget [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_environment.md b/docs/commands/lagoon_delete_environment.md
index 1918324d..03b32bd6 100644
--- a/docs/commands/lagoon_delete_environment.md
+++ b/docs/commands/lagoon_delete_environment.md
@@ -15,21 +15,22 @@ lagoon delete environment [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_group.md b/docs/commands/lagoon_delete_group.md
index 9e32632e..25b6a9f0 100644
--- a/docs/commands/lagoon_delete_group.md
+++ b/docs/commands/lagoon_delete_group.md
@@ -16,21 +16,22 @@ lagoon delete group [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification.md b/docs/commands/lagoon_delete_notification.md
index e9ac3a87..0f9d1760 100644
--- a/docs/commands/lagoon_delete_notification.md
+++ b/docs/commands/lagoon_delete_notification.md
@@ -11,21 +11,22 @@ Delete notifications or delete notifications from projects
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_email.md b/docs/commands/lagoon_delete_notification_email.md
index 1efcb471..e8be90ef 100644
--- a/docs/commands/lagoon_delete_notification_email.md
+++ b/docs/commands/lagoon_delete_notification_email.md
@@ -16,21 +16,22 @@ lagoon delete notification email [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_microsoftteams.md b/docs/commands/lagoon_delete_notification_microsoftteams.md
index 168fadc2..a4d9c259 100644
--- a/docs/commands/lagoon_delete_notification_microsoftteams.md
+++ b/docs/commands/lagoon_delete_notification_microsoftteams.md
@@ -16,21 +16,22 @@ lagoon delete notification microsoftteams [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_project-email.md b/docs/commands/lagoon_delete_notification_project-email.md
index 5b688c13..76032283 100644
--- a/docs/commands/lagoon_delete_notification_project-email.md
+++ b/docs/commands/lagoon_delete_notification_project-email.md
@@ -16,21 +16,22 @@ lagoon delete notification project-email [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_project-microsoftteams.md b/docs/commands/lagoon_delete_notification_project-microsoftteams.md
index 0e5c23b2..b6d39706 100644
--- a/docs/commands/lagoon_delete_notification_project-microsoftteams.md
+++ b/docs/commands/lagoon_delete_notification_project-microsoftteams.md
@@ -16,21 +16,22 @@ lagoon delete notification project-microsoftteams [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_project-rocketchat.md b/docs/commands/lagoon_delete_notification_project-rocketchat.md
index 63720b95..4deb9089 100644
--- a/docs/commands/lagoon_delete_notification_project-rocketchat.md
+++ b/docs/commands/lagoon_delete_notification_project-rocketchat.md
@@ -16,21 +16,22 @@ lagoon delete notification project-rocketchat [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_project-slack.md b/docs/commands/lagoon_delete_notification_project-slack.md
index ac8a7c53..e3631c8f 100644
--- a/docs/commands/lagoon_delete_notification_project-slack.md
+++ b/docs/commands/lagoon_delete_notification_project-slack.md
@@ -16,21 +16,22 @@ lagoon delete notification project-slack [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_project-webhook.md b/docs/commands/lagoon_delete_notification_project-webhook.md
index cce03cc6..dc1594e5 100644
--- a/docs/commands/lagoon_delete_notification_project-webhook.md
+++ b/docs/commands/lagoon_delete_notification_project-webhook.md
@@ -16,21 +16,22 @@ lagoon delete notification project-webhook [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_rocketchat.md b/docs/commands/lagoon_delete_notification_rocketchat.md
index 238a6c4d..49378edd 100644
--- a/docs/commands/lagoon_delete_notification_rocketchat.md
+++ b/docs/commands/lagoon_delete_notification_rocketchat.md
@@ -16,21 +16,22 @@ lagoon delete notification rocketchat [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_slack.md b/docs/commands/lagoon_delete_notification_slack.md
index 4454b706..32ef6cc6 100644
--- a/docs/commands/lagoon_delete_notification_slack.md
+++ b/docs/commands/lagoon_delete_notification_slack.md
@@ -16,21 +16,22 @@ lagoon delete notification slack [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_notification_webhook.md b/docs/commands/lagoon_delete_notification_webhook.md
index ac39934d..fea96086 100644
--- a/docs/commands/lagoon_delete_notification_webhook.md
+++ b/docs/commands/lagoon_delete_notification_webhook.md
@@ -16,21 +16,22 @@ lagoon delete notification webhook [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_organization-administrator.md b/docs/commands/lagoon_delete_organization-administrator.md
index 655fe981..1737b8e2 100644
--- a/docs/commands/lagoon_delete_organization-administrator.md
+++ b/docs/commands/lagoon_delete_organization-administrator.md
@@ -17,21 +17,22 @@ lagoon delete organization-administrator [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_organization-deploytarget.md b/docs/commands/lagoon_delete_organization-deploytarget.md
index 40933e2d..fa03dd39 100644
--- a/docs/commands/lagoon_delete_organization-deploytarget.md
+++ b/docs/commands/lagoon_delete_organization-deploytarget.md
@@ -17,21 +17,22 @@ lagoon delete organization-deploytarget [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_organization-project.md b/docs/commands/lagoon_delete_organization-project.md
index a24c5cff..d0270bf2 100644
--- a/docs/commands/lagoon_delete_organization-project.md
+++ b/docs/commands/lagoon_delete_organization-project.md
@@ -21,21 +21,22 @@ lagoon delete organization-project [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_organization.md b/docs/commands/lagoon_delete_organization.md
index 35b80e38..ee726664 100644
--- a/docs/commands/lagoon_delete_organization.md
+++ b/docs/commands/lagoon_delete_organization.md
@@ -16,21 +16,22 @@ lagoon delete organization [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_project-by-metadata.md b/docs/commands/lagoon_delete_project-by-metadata.md
deleted file mode 100644
index 66bf1aca..00000000
--- a/docs/commands/lagoon_delete_project-by-metadata.md
+++ /dev/null
@@ -1,40 +0,0 @@
-## lagoon delete project-by-metadata
-
-Delete a key from a projects metadata
-
-### Synopsis
-
-Delete a key from a projects metadata
-
-```
-lagoon delete project-by-metadata [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-by-metadata
- --key string The key name of the metadata value you are querying on
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon delete](lagoon_delete.md) - Delete a project, or delete notifications and variables from projects or environments
-
diff --git a/docs/commands/lagoon_delete_project-email.md b/docs/commands/lagoon_delete_project-email.md
deleted file mode 100644
index 030d9eec..00000000
--- a/docs/commands/lagoon_delete_project-email.md
+++ /dev/null
@@ -1,40 +0,0 @@
-## lagoon delete project-email
-
-Delete a Email notification from a project
-
-### Synopsis
-
-Delete a Email notification from a project
-
-```
-lagoon delete project-email [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-email
- -n, --name string The name of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon delete](lagoon_delete.md) - Delete a project, or delete notifications and variables from projects or environments
-
diff --git a/docs/commands/lagoon_delete_project-group.md b/docs/commands/lagoon_delete_project-group.md
index c08e07dd..1b489a06 100644
--- a/docs/commands/lagoon_delete_project-group.md
+++ b/docs/commands/lagoon_delete_project-group.md
@@ -16,21 +16,22 @@ lagoon delete project-group [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_project-metadata.md b/docs/commands/lagoon_delete_project-metadata.md
index 2255b11b..2d98bc7a 100644
--- a/docs/commands/lagoon_delete_project-metadata.md
+++ b/docs/commands/lagoon_delete_project-metadata.md
@@ -16,21 +16,22 @@ lagoon delete project-metadata [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_project-microsoftteams.md b/docs/commands/lagoon_delete_project-microsoftteams.md
deleted file mode 100644
index d593daa0..00000000
--- a/docs/commands/lagoon_delete_project-microsoftteams.md
+++ /dev/null
@@ -1,40 +0,0 @@
-## lagoon delete project-microsoftteams
-
-Delete a MicrosoftTeams notification from a project
-
-### Synopsis
-
-Delete a MicrosoftTeams notification from a project
-
-```
-lagoon delete project-microsoftteams [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-microsoftteams
- -n, --name string The name of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon delete](lagoon_delete.md) - Delete a project, or delete notifications and variables from projects or environments
-
diff --git a/docs/commands/lagoon_delete_project-rocketchat.md b/docs/commands/lagoon_delete_project-rocketchat.md
deleted file mode 100644
index a1c16850..00000000
--- a/docs/commands/lagoon_delete_project-rocketchat.md
+++ /dev/null
@@ -1,40 +0,0 @@
-## lagoon delete project-rocketchat
-
-Delete a Rocket.Chat notification from a project
-
-### Synopsis
-
-Delete a Rocket.Chat notification from a project
-
-```
-lagoon delete project-rocketchat [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-rocketchat
- -n, --name string The name of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon delete](lagoon_delete.md) - Delete a project, or delete notifications and variables from projects or environments
-
diff --git a/docs/commands/lagoon_delete_project-slack.md b/docs/commands/lagoon_delete_project-slack.md
deleted file mode 100644
index 541063e1..00000000
--- a/docs/commands/lagoon_delete_project-slack.md
+++ /dev/null
@@ -1,40 +0,0 @@
-## lagoon delete project-slack
-
-Delete a Slack notification from a project
-
-### Synopsis
-
-Delete a Slack notification from a project
-
-```
-lagoon delete project-slack [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-slack
- -n, --name string The name of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon delete](lagoon_delete.md) - Delete a project, or delete notifications and variables from projects or environments
-
diff --git a/docs/commands/lagoon_delete_project-webhook.md b/docs/commands/lagoon_delete_project-webhook.md
deleted file mode 100644
index a0f34f36..00000000
--- a/docs/commands/lagoon_delete_project-webhook.md
+++ /dev/null
@@ -1,40 +0,0 @@
-## lagoon delete project-webhook
-
-Delete a Webhook notification from a project
-
-### Synopsis
-
-Delete a Webhook notification from a project
-
-```
-lagoon delete project-webhook [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-webhook
- -n, --name string The name of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon delete](lagoon_delete.md) - Delete a project, or delete notifications and variables from projects or environments
-
diff --git a/docs/commands/lagoon_delete_project.md b/docs/commands/lagoon_delete_project.md
index 76eb74cf..f92a8c78 100644
--- a/docs/commands/lagoon_delete_project.md
+++ b/docs/commands/lagoon_delete_project.md
@@ -15,21 +15,22 @@ lagoon delete project [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_rocketchat.md b/docs/commands/lagoon_delete_rocketchat.md
deleted file mode 100644
index 90b1d0dd..00000000
--- a/docs/commands/lagoon_delete_rocketchat.md
+++ /dev/null
@@ -1,40 +0,0 @@
-## lagoon delete rocketchat
-
-Delete a Rocket.Chat notification from Lagoon
-
-### Synopsis
-
-Delete a Rocket.Chat notification from Lagoon
-
-```
-lagoon delete rocketchat [flags]
-```
-
-### Options
-
-```
- -h, --help help for rocketchat
- -n, --name string The name of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon delete](lagoon_delete.md) - Delete a project, or delete notifications and variables from projects or environments
-
diff --git a/docs/commands/lagoon_delete_slack.md b/docs/commands/lagoon_delete_slack.md
deleted file mode 100644
index b53a07e3..00000000
--- a/docs/commands/lagoon_delete_slack.md
+++ /dev/null
@@ -1,40 +0,0 @@
-## lagoon delete slack
-
-Delete a Slack notification from Lagoon
-
-### Synopsis
-
-Delete a Slack notification from Lagoon
-
-```
-lagoon delete slack [flags]
-```
-
-### Options
-
-```
- -h, --help help for slack
- -n, --name string The name of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon delete](lagoon_delete.md) - Delete a project, or delete notifications and variables from projects or environments
-
diff --git a/docs/commands/lagoon_delete_user-group.md b/docs/commands/lagoon_delete_user-group.md
index 0e357341..d4c972de 100644
--- a/docs/commands/lagoon_delete_user-group.md
+++ b/docs/commands/lagoon_delete_user-group.md
@@ -17,21 +17,22 @@ lagoon delete user-group [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_user-sshkey.md b/docs/commands/lagoon_delete_user-sshkey.md
index b9bc4695..30d3ed0d 100644
--- a/docs/commands/lagoon_delete_user-sshkey.md
+++ b/docs/commands/lagoon_delete_user-sshkey.md
@@ -16,21 +16,22 @@ lagoon delete user-sshkey [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_user.md b/docs/commands/lagoon_delete_user.md
index 47877764..7a175b30 100644
--- a/docs/commands/lagoon_delete_user.md
+++ b/docs/commands/lagoon_delete_user.md
@@ -16,21 +16,22 @@ lagoon delete user [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_delete_variable.md b/docs/commands/lagoon_delete_variable.md
index dfda4a68..901cabbd 100644
--- a/docs/commands/lagoon_delete_variable.md
+++ b/docs/commands/lagoon_delete_variable.md
@@ -20,21 +20,22 @@ lagoon delete variable [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_deploy.md b/docs/commands/lagoon_deploy.md
index 8e884029..8b3af611 100644
--- a/docs/commands/lagoon_deploy.md
+++ b/docs/commands/lagoon_deploy.md
@@ -11,21 +11,22 @@ Actions for deploying or promoting branches or environments in lagoon
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_deploy_branch.md b/docs/commands/lagoon_deploy_branch.md
index 10997814..ec3e245f 100644
--- a/docs/commands/lagoon_deploy_branch.md
+++ b/docs/commands/lagoon_deploy_branch.md
@@ -25,21 +25,22 @@ lagoon deploy branch [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_deploy_latest.md b/docs/commands/lagoon_deploy_latest.md
index e70bf71e..cec51f02 100644
--- a/docs/commands/lagoon_deploy_latest.md
+++ b/docs/commands/lagoon_deploy_latest.md
@@ -22,21 +22,22 @@ lagoon deploy latest [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_deploy_promote.md b/docs/commands/lagoon_deploy_promote.md
index 709a17d0..9b26cf56 100644
--- a/docs/commands/lagoon_deploy_promote.md
+++ b/docs/commands/lagoon_deploy_promote.md
@@ -23,21 +23,22 @@ lagoon deploy promote [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_deploy_pullrequest.md b/docs/commands/lagoon_deploy_pullrequest.md
index f7d2d56e..a42a4cde 100644
--- a/docs/commands/lagoon_deploy_pullrequest.md
+++ b/docs/commands/lagoon_deploy_pullrequest.md
@@ -28,21 +28,22 @@ lagoon deploy pullrequest [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_export.md b/docs/commands/lagoon_export.md
index b9ae34dc..18bedb5c 100644
--- a/docs/commands/lagoon_export.md
+++ b/docs/commands/lagoon_export.md
@@ -21,21 +21,22 @@ lagoon export [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get.md b/docs/commands/lagoon_get.md
index d6493114..301025d4 100644
--- a/docs/commands/lagoon_get.md
+++ b/docs/commands/lagoon_get.md
@@ -11,21 +11,22 @@ Get info on a resource
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_all-user-sshkeys.md b/docs/commands/lagoon_get_all-user-sshkeys.md
index 667171b5..0234f6f1 100644
--- a/docs/commands/lagoon_get_all-user-sshkeys.md
+++ b/docs/commands/lagoon_get_all-user-sshkeys.md
@@ -20,21 +20,22 @@ lagoon get all-user-sshkeys [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_backup.md b/docs/commands/lagoon_get_backup.md
index 066abf62..215a4492 100644
--- a/docs/commands/lagoon_get_backup.md
+++ b/docs/commands/lagoon_get_backup.md
@@ -21,21 +21,22 @@ lagoon get backup [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_deployment.md b/docs/commands/lagoon_get_deployment.md
index 2f51c3cb..8814b8e3 100644
--- a/docs/commands/lagoon_get_deployment.md
+++ b/docs/commands/lagoon_get_deployment.md
@@ -17,26 +17,28 @@ lagoon get deployment [flags]
-h, --help help for deployment
-L, --logs Show the build logs if available
-N, --name string The name of the deployment (eg, lagoon-build-abcdef)
+ --wide Display additional information about deployments
```
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_environment.md b/docs/commands/lagoon_get_environment.md
index f4a19fcc..5de2a7c9 100644
--- a/docs/commands/lagoon_get_environment.md
+++ b/docs/commands/lagoon_get_environment.md
@@ -16,21 +16,22 @@ lagoon get environment [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_organization.md b/docs/commands/lagoon_get_organization.md
index d0488d7e..5e022d2c 100644
--- a/docs/commands/lagoon_get_organization.md
+++ b/docs/commands/lagoon_get_organization.md
@@ -16,21 +16,22 @@ lagoon get organization [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_project-by-metadata.md b/docs/commands/lagoon_get_project-by-metadata.md
deleted file mode 100644
index f0d0679c..00000000
--- a/docs/commands/lagoon_get_project-by-metadata.md
+++ /dev/null
@@ -1,41 +0,0 @@
-## lagoon get project-by-metadata
-
-Query lagoon projects by a given metadata key or key:value
-
-### Synopsis
-
-Query lagoon projects by a given metadata key or key:value
-
-```
-lagoon get project-by-metadata [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-by-metadata
- --key string The key name of the metadata value you are querying on
- --value string The value for the key you are querying on
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon get](lagoon_get.md) - Get info on a resource
-
diff --git a/docs/commands/lagoon_get_project-key.md b/docs/commands/lagoon_get_project-key.md
index fb33aa4d..a368daa4 100644
--- a/docs/commands/lagoon_get_project-key.md
+++ b/docs/commands/lagoon_get_project-key.md
@@ -16,21 +16,22 @@ lagoon get project-key [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_project-metadata.md b/docs/commands/lagoon_get_project-metadata.md
index b1b97928..3cc5f901 100644
--- a/docs/commands/lagoon_get_project-metadata.md
+++ b/docs/commands/lagoon_get_project-metadata.md
@@ -15,21 +15,22 @@ lagoon get project-metadata [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_project.md b/docs/commands/lagoon_get_project.md
index bae36beb..9ce6be1e 100644
--- a/docs/commands/lagoon_get_project.md
+++ b/docs/commands/lagoon_get_project.md
@@ -16,21 +16,22 @@ lagoon get project [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_task-by-id.md b/docs/commands/lagoon_get_task-by-id.md
index 30af8a65..da81cc23 100644
--- a/docs/commands/lagoon_get_task-by-id.md
+++ b/docs/commands/lagoon_get_task-by-id.md
@@ -21,21 +21,22 @@ lagoon get task-by-id [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_token.md b/docs/commands/lagoon_get_token.md
index 11e62a4c..1643aef7 100644
--- a/docs/commands/lagoon_get_token.md
+++ b/docs/commands/lagoon_get_token.md
@@ -15,21 +15,22 @@ lagoon get token [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_get_user-sshkeys.md b/docs/commands/lagoon_get_user-sshkeys.md
index 17799632..e130b751 100644
--- a/docs/commands/lagoon_get_user-sshkeys.md
+++ b/docs/commands/lagoon_get_user-sshkeys.md
@@ -20,21 +20,22 @@ lagoon get user-sshkeys [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_import.md b/docs/commands/lagoon_import.md
index 05d14138..862559bf 100644
--- a/docs/commands/lagoon_import.md
+++ b/docs/commands/lagoon_import.md
@@ -24,21 +24,22 @@ lagoon import [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_kibana.md b/docs/commands/lagoon_kibana.md
index 6274fa59..4d722157 100644
--- a/docs/commands/lagoon_kibana.md
+++ b/docs/commands/lagoon_kibana.md
@@ -15,21 +15,22 @@ lagoon kibana [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list.md b/docs/commands/lagoon_list.md
index 76a1f02c..cbf8cbd6 100644
--- a/docs/commands/lagoon_list.md
+++ b/docs/commands/lagoon_list.md
@@ -12,21 +12,22 @@ List projects, environments, deployments, variables or notifications
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
@@ -43,7 +44,7 @@ List projects, environments, deployments, variables or notifications
* [lagoon list groups](lagoon_list_groups.md) - List groups you have access to (alias: g)
* [lagoon list invokable-tasks](lagoon_list_invokable-tasks.md) - Print a list of invokable tasks
* [lagoon list notification](lagoon_list_notification.md) - List all notifications or notifications on projects
-* [lagoon list organization-admins](lagoon_list_organization-admins.md) - List admins in an organization
+* [lagoon list organization-admininstrators](lagoon_list_organization-admininstrators.md) - List admins in an organization
* [lagoon list organization-deploytargets](lagoon_list_organization-deploytargets.md) - List deploy targets in an organization
* [lagoon list organization-groups](lagoon_list_organization-groups.md) - List groups in an organization
* [lagoon list organization-projects](lagoon_list_organization-projects.md) - List projects in an organization
diff --git a/docs/commands/lagoon_list_all-users.md b/docs/commands/lagoon_list_all-users.md
index 32fdb78c..31b0943a 100644
--- a/docs/commands/lagoon_list_all-users.md
+++ b/docs/commands/lagoon_list_all-users.md
@@ -21,21 +21,22 @@ lagoon list all-users [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_backups.md b/docs/commands/lagoon_list_backups.md
index 6913cc4d..4ebfeb19 100644
--- a/docs/commands/lagoon_list_backups.md
+++ b/docs/commands/lagoon_list_backups.md
@@ -15,21 +15,22 @@ lagoon list backups [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_deployments.md b/docs/commands/lagoon_list_deployments.md
index 1251d348..df95e6b8 100644
--- a/docs/commands/lagoon_list_deployments.md
+++ b/docs/commands/lagoon_list_deployments.md
@@ -10,26 +10,28 @@ lagoon list deployments [flags]
```
-h, --help help for deployments
+ --wide Display additional information about deployments
```
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_deploytarget-configs.md b/docs/commands/lagoon_list_deploytarget-configs.md
index 92fa8856..5642497c 100644
--- a/docs/commands/lagoon_list_deploytarget-configs.md
+++ b/docs/commands/lagoon_list_deploytarget-configs.md
@@ -15,21 +15,22 @@ lagoon list deploytarget-configs [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_deploytargets.md b/docs/commands/lagoon_list_deploytargets.md
index 2ac14656..247e0d0c 100644
--- a/docs/commands/lagoon_list_deploytargets.md
+++ b/docs/commands/lagoon_list_deploytargets.md
@@ -21,21 +21,22 @@ lagoon list deploytargets [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_environments.md b/docs/commands/lagoon_list_environments.md
index 7d688594..f5cf612e 100644
--- a/docs/commands/lagoon_list_environments.md
+++ b/docs/commands/lagoon_list_environments.md
@@ -15,21 +15,22 @@ lagoon list environments [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_group-projects.md b/docs/commands/lagoon_list_group-projects.md
index 356d0478..9ee7eaf0 100644
--- a/docs/commands/lagoon_list_group-projects.md
+++ b/docs/commands/lagoon_list_group-projects.md
@@ -17,21 +17,22 @@ lagoon list group-projects [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_group-users.md b/docs/commands/lagoon_list_group-users.md
index 4d881bd8..55462d7f 100644
--- a/docs/commands/lagoon_list_group-users.md
+++ b/docs/commands/lagoon_list_group-users.md
@@ -22,21 +22,22 @@ lagoon list group-users [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_groups.md b/docs/commands/lagoon_list_groups.md
index c4d58ffc..12a7efe7 100644
--- a/docs/commands/lagoon_list_groups.md
+++ b/docs/commands/lagoon_list_groups.md
@@ -15,21 +15,22 @@ lagoon list groups [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_invokable-tasks.md b/docs/commands/lagoon_list_invokable-tasks.md
index 1b58c95a..4c9b0fe5 100644
--- a/docs/commands/lagoon_list_invokable-tasks.md
+++ b/docs/commands/lagoon_list_invokable-tasks.md
@@ -19,21 +19,22 @@ lagoon list invokable-tasks [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification.md b/docs/commands/lagoon_list_notification.md
index 97f117a5..488c62fe 100644
--- a/docs/commands/lagoon_list_notification.md
+++ b/docs/commands/lagoon_list_notification.md
@@ -11,21 +11,22 @@ List all notifications or notifications on projects
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_email.md b/docs/commands/lagoon_list_notification_email.md
index f798f61d..cc06904d 100644
--- a/docs/commands/lagoon_list_notification_email.md
+++ b/docs/commands/lagoon_list_notification_email.md
@@ -15,21 +15,22 @@ lagoon list notification email [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_microsoftteams.md b/docs/commands/lagoon_list_notification_microsoftteams.md
index 4487c57f..fd492c19 100644
--- a/docs/commands/lagoon_list_notification_microsoftteams.md
+++ b/docs/commands/lagoon_list_notification_microsoftteams.md
@@ -15,21 +15,22 @@ lagoon list notification microsoftteams [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_project-email.md b/docs/commands/lagoon_list_notification_project-email.md
index e2e3b91c..b738ef02 100644
--- a/docs/commands/lagoon_list_notification_project-email.md
+++ b/docs/commands/lagoon_list_notification_project-email.md
@@ -15,21 +15,22 @@ lagoon list notification project-email [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_project-microsoftteams.md b/docs/commands/lagoon_list_notification_project-microsoftteams.md
index 2b10931a..3f8b423c 100644
--- a/docs/commands/lagoon_list_notification_project-microsoftteams.md
+++ b/docs/commands/lagoon_list_notification_project-microsoftteams.md
@@ -15,21 +15,22 @@ lagoon list notification project-microsoftteams [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_project-rocketchat.md b/docs/commands/lagoon_list_notification_project-rocketchat.md
index 631cd904..b77d0ffd 100644
--- a/docs/commands/lagoon_list_notification_project-rocketchat.md
+++ b/docs/commands/lagoon_list_notification_project-rocketchat.md
@@ -15,21 +15,22 @@ lagoon list notification project-rocketchat [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_project-slack.md b/docs/commands/lagoon_list_notification_project-slack.md
index a88a57e0..5f71c16a 100644
--- a/docs/commands/lagoon_list_notification_project-slack.md
+++ b/docs/commands/lagoon_list_notification_project-slack.md
@@ -15,21 +15,22 @@ lagoon list notification project-slack [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_project-webhook.md b/docs/commands/lagoon_list_notification_project-webhook.md
index c519731a..5ef8228e 100644
--- a/docs/commands/lagoon_list_notification_project-webhook.md
+++ b/docs/commands/lagoon_list_notification_project-webhook.md
@@ -15,21 +15,22 @@ lagoon list notification project-webhook [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_rocketchat.md b/docs/commands/lagoon_list_notification_rocketchat.md
index 663495c2..dd66a88a 100644
--- a/docs/commands/lagoon_list_notification_rocketchat.md
+++ b/docs/commands/lagoon_list_notification_rocketchat.md
@@ -15,21 +15,22 @@ lagoon list notification rocketchat [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_slack.md b/docs/commands/lagoon_list_notification_slack.md
index a55b57ec..8f980823 100644
--- a/docs/commands/lagoon_list_notification_slack.md
+++ b/docs/commands/lagoon_list_notification_slack.md
@@ -15,21 +15,22 @@ lagoon list notification slack [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_notification_webhook.md b/docs/commands/lagoon_list_notification_webhook.md
index 54347efa..bdcb5b1b 100644
--- a/docs/commands/lagoon_list_notification_webhook.md
+++ b/docs/commands/lagoon_list_notification_webhook.md
@@ -15,21 +15,22 @@ lagoon list notification webhook [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_organization-admininstrators.md b/docs/commands/lagoon_list_organization-admininstrators.md
new file mode 100644
index 00000000..92f39119
--- /dev/null
+++ b/docs/commands/lagoon_list_organization-admininstrators.md
@@ -0,0 +1,40 @@
+## lagoon list organization-admininstrators
+
+List admins in an organization
+
+```
+lagoon list organization-admininstrators [flags]
+```
+
+### Options
+
+```
+ -h, --help help for organization-admininstrators
+ -O, --organization-name string Name of the organization to list associated users for
+```
+
+### Options inherited from parent commands
+
+```
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
+```
+
+### SEE ALSO
+
+* [lagoon list](lagoon_list.md) - List projects, environments, deployments, variables or notifications
+
diff --git a/docs/commands/lagoon_list_organization-admins.md b/docs/commands/lagoon_list_organization-admins.md
deleted file mode 100644
index ca11b668..00000000
--- a/docs/commands/lagoon_list_organization-admins.md
+++ /dev/null
@@ -1,39 +0,0 @@
-## lagoon list organization-admins
-
-List admins in an organization
-
-```
-lagoon list organization-admins [flags]
-```
-
-### Options
-
-```
- -h, --help help for organization-admins
- -O, --organization-name string Name of the organization to list associated users for
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
-```
-
-### SEE ALSO
-
-* [lagoon list](lagoon_list.md) - List projects, environments, deployments, variables or notifications
-
diff --git a/docs/commands/lagoon_list_organization-deploytargets.md b/docs/commands/lagoon_list_organization-deploytargets.md
index d04cf20c..6fc9fcc2 100644
--- a/docs/commands/lagoon_list_organization-deploytargets.md
+++ b/docs/commands/lagoon_list_organization-deploytargets.md
@@ -17,21 +17,22 @@ lagoon list organization-deploytargets [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_organization-groups.md b/docs/commands/lagoon_list_organization-groups.md
index 78fd82c9..66815c59 100644
--- a/docs/commands/lagoon_list_organization-groups.md
+++ b/docs/commands/lagoon_list_organization-groups.md
@@ -16,21 +16,22 @@ lagoon list organization-groups [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_organization-projects.md b/docs/commands/lagoon_list_organization-projects.md
index edb8e153..a71748e9 100644
--- a/docs/commands/lagoon_list_organization-projects.md
+++ b/docs/commands/lagoon_list_organization-projects.md
@@ -16,21 +16,22 @@ lagoon list organization-projects [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_organization-users.md b/docs/commands/lagoon_list_organization-users.md
index 836176eb..344184d0 100644
--- a/docs/commands/lagoon_list_organization-users.md
+++ b/docs/commands/lagoon_list_organization-users.md
@@ -16,21 +16,22 @@ lagoon list organization-users [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_organizations.md b/docs/commands/lagoon_list_organizations.md
index e664b31b..f659e7b3 100644
--- a/docs/commands/lagoon_list_organizations.md
+++ b/docs/commands/lagoon_list_organizations.md
@@ -15,21 +15,22 @@ lagoon list organizations [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_project-by-metadata.md b/docs/commands/lagoon_list_project-by-metadata.md
deleted file mode 100644
index 74c6ebed..00000000
--- a/docs/commands/lagoon_list_project-by-metadata.md
+++ /dev/null
@@ -1,41 +0,0 @@
-## lagoon list project-by-metadata
-
-List projects by a given metadata key or key:value
-
-### Synopsis
-
-List projects by a given metadata key or key:value
-
-```
-lagoon list project-by-metadata [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-by-metadata
- --key string The key name of the metadata value you are querying on
- --value string The value for the key you are querying on
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon list](lagoon_list.md) - List projects, deployments, variables or notifications
-
diff --git a/docs/commands/lagoon_list_project-groups.md b/docs/commands/lagoon_list_project-groups.md
index 04c11032..eeec7aeb 100644
--- a/docs/commands/lagoon_list_project-groups.md
+++ b/docs/commands/lagoon_list_project-groups.md
@@ -15,21 +15,22 @@ lagoon list project-groups [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_projects-by-metadata.md b/docs/commands/lagoon_list_projects-by-metadata.md
index 14f1d7d3..26320fb2 100644
--- a/docs/commands/lagoon_list_projects-by-metadata.md
+++ b/docs/commands/lagoon_list_projects-by-metadata.md
@@ -18,21 +18,22 @@ lagoon list projects-by-metadata [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_projects.md b/docs/commands/lagoon_list_projects.md
index ebc8f0a8..46fe81ed 100644
--- a/docs/commands/lagoon_list_projects.md
+++ b/docs/commands/lagoon_list_projects.md
@@ -15,21 +15,22 @@ lagoon list projects [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_rocketchat.md b/docs/commands/lagoon_list_rocketchat.md
deleted file mode 100644
index 15e3b129..00000000
--- a/docs/commands/lagoon_list_rocketchat.md
+++ /dev/null
@@ -1,39 +0,0 @@
-## lagoon list rocketchat
-
-List Rocket.Chat details about a project (alias: r)
-
-### Synopsis
-
-List Rocket.Chat details about a project (alias: r)
-
-```
-lagoon list rocketchat [flags]
-```
-
-### Options
-
-```
- -h, --help help for rocketchat
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon list](lagoon_list.md) - List projects, deployments, variables or notifications
-
diff --git a/docs/commands/lagoon_list_slack.md b/docs/commands/lagoon_list_slack.md
deleted file mode 100644
index ab67a6cc..00000000
--- a/docs/commands/lagoon_list_slack.md
+++ /dev/null
@@ -1,39 +0,0 @@
-## lagoon list slack
-
-List Slack details about a project (alias: s)
-
-### Synopsis
-
-List Slack details about a project (alias: s)
-
-```
-lagoon list slack [flags]
-```
-
-### Options
-
-```
- -h, --help help for slack
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon list](lagoon_list.md) - List projects, deployments, variables or notifications
-
diff --git a/docs/commands/lagoon_list_tasks.md b/docs/commands/lagoon_list_tasks.md
index 4c13b836..89150962 100644
--- a/docs/commands/lagoon_list_tasks.md
+++ b/docs/commands/lagoon_list_tasks.md
@@ -15,21 +15,22 @@ lagoon list tasks [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_user-groups.md b/docs/commands/lagoon_list_user-groups.md
index 0f47ba95..2812960b 100644
--- a/docs/commands/lagoon_list_user-groups.md
+++ b/docs/commands/lagoon_list_user-groups.md
@@ -20,21 +20,22 @@ lagoon list user-groups [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_list_users.md b/docs/commands/lagoon_list_users.md
deleted file mode 100644
index 7988ae11..00000000
--- a/docs/commands/lagoon_list_users.md
+++ /dev/null
@@ -1,40 +0,0 @@
-## lagoon list users
-
-List all users in groups (alias: u)
-
-### Synopsis
-
-List all users in groups in lagoon, this only shows users that are in groups.
-
-```
-lagoon list users [flags]
-```
-
-### Options
-
-```
- -h, --help help for users
- -N, --name string Name of the group to list users in (if not specified, will default to all groups)
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon list](lagoon_list.md) - List projects, environments, deployments, variables or notifications
-
diff --git a/docs/commands/lagoon_list_variables.md b/docs/commands/lagoon_list_variables.md
index ca3d09a8..8fcc93c3 100644
--- a/docs/commands/lagoon_list_variables.md
+++ b/docs/commands/lagoon_list_variables.md
@@ -16,21 +16,22 @@ lagoon list variables [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_login.md b/docs/commands/lagoon_login.md
index a3399782..140d66ec 100644
--- a/docs/commands/lagoon_login.md
+++ b/docs/commands/lagoon_login.md
@@ -15,21 +15,22 @@ lagoon login [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_logs.md b/docs/commands/lagoon_logs.md
index 6e2c9747..6e358ff1 100644
--- a/docs/commands/lagoon_logs.md
+++ b/docs/commands/lagoon_logs.md
@@ -19,21 +19,22 @@ lagoon logs [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_raw.md b/docs/commands/lagoon_raw.md
index 296ab650..366604ef 100644
--- a/docs/commands/lagoon_raw.md
+++ b/docs/commands/lagoon_raw.md
@@ -21,21 +21,22 @@ lagoon raw [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_reset-password.md b/docs/commands/lagoon_reset-password.md
index 69f57a64..d6481233 100644
--- a/docs/commands/lagoon_reset-password.md
+++ b/docs/commands/lagoon_reset-password.md
@@ -16,21 +16,22 @@ lagoon reset-password [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_retrieve.md b/docs/commands/lagoon_retrieve.md
index 26836e23..3dba3b71 100644
--- a/docs/commands/lagoon_retrieve.md
+++ b/docs/commands/lagoon_retrieve.md
@@ -11,21 +11,22 @@ Trigger a retrieval operation on backups
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_retrieve_backup.md b/docs/commands/lagoon_retrieve_backup.md
index 2a87d98f..e590eb8d 100644
--- a/docs/commands/lagoon_retrieve_backup.md
+++ b/docs/commands/lagoon_retrieve_backup.md
@@ -22,21 +22,22 @@ lagoon retrieve backup [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_run.md b/docs/commands/lagoon_run.md
index 4d6432a4..54542f18 100644
--- a/docs/commands/lagoon_run.md
+++ b/docs/commands/lagoon_run.md
@@ -11,21 +11,22 @@ Run a task against an environment
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_run_activestandby.md b/docs/commands/lagoon_run_activestandby.md
index 7672c9f8..32addfc5 100644
--- a/docs/commands/lagoon_run_activestandby.md
+++ b/docs/commands/lagoon_run_activestandby.md
@@ -21,21 +21,22 @@ lagoon run activestandby [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_run_custom.md b/docs/commands/lagoon_run_custom.md
index f7a29253..2b04128a 100644
--- a/docs/commands/lagoon_run_custom.md
+++ b/docs/commands/lagoon_run_custom.md
@@ -33,21 +33,22 @@ lagoon run custom [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_run_drush-archivedump.md b/docs/commands/lagoon_run_drush-archivedump.md
index b289fcdc..2962559d 100644
--- a/docs/commands/lagoon_run_drush-archivedump.md
+++ b/docs/commands/lagoon_run_drush-archivedump.md
@@ -15,21 +15,22 @@ lagoon run drush-archivedump [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_run_drush-cacheclear.md b/docs/commands/lagoon_run_drush-cacheclear.md
index 93bba909..3b20ea99 100644
--- a/docs/commands/lagoon_run_drush-cacheclear.md
+++ b/docs/commands/lagoon_run_drush-cacheclear.md
@@ -15,21 +15,22 @@ lagoon run drush-cacheclear [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_run_drush-sqldump.md b/docs/commands/lagoon_run_drush-sqldump.md
index 0aac4d2c..5cb9217a 100644
--- a/docs/commands/lagoon_run_drush-sqldump.md
+++ b/docs/commands/lagoon_run_drush-sqldump.md
@@ -15,21 +15,22 @@ lagoon run drush-sqldump [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_run_invoke.md b/docs/commands/lagoon_run_invoke.md
index 41afbc27..e55013e5 100644
--- a/docs/commands/lagoon_run_invoke.md
+++ b/docs/commands/lagoon_run_invoke.md
@@ -24,21 +24,22 @@ lagoon run invoke [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_ssh.md b/docs/commands/lagoon_ssh.md
index dba9be31..e20b62f3 100644
--- a/docs/commands/lagoon_ssh.md
+++ b/docs/commands/lagoon_ssh.md
@@ -19,21 +19,22 @@ lagoon ssh [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update.md b/docs/commands/lagoon_update.md
index b7f63923..0d92d1c8 100644
--- a/docs/commands/lagoon_update.md
+++ b/docs/commands/lagoon_update.md
@@ -11,21 +11,22 @@ Update a resource
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_deploytarget-config.md b/docs/commands/lagoon_update_deploytarget-config.md
index 4cf80e9a..6f9cce17 100644
--- a/docs/commands/lagoon_update_deploytarget-config.md
+++ b/docs/commands/lagoon_update_deploytarget-config.md
@@ -20,21 +20,22 @@ lagoon update deploytarget-config [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_deploytarget.md b/docs/commands/lagoon_update_deploytarget.md
index 2b31e7c5..76e2af8e 100644
--- a/docs/commands/lagoon_update_deploytarget.md
+++ b/docs/commands/lagoon_update_deploytarget.md
@@ -29,21 +29,22 @@ lagoon update deploytarget [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_environment.md b/docs/commands/lagoon_update_environment.md
index c3decf59..b938f8f6 100644
--- a/docs/commands/lagoon_update_environment.md
+++ b/docs/commands/lagoon_update_environment.md
@@ -9,7 +9,7 @@ lagoon update environment [flags]
### Options
```
- -a, --auto-idle uint Auto idle setting of the environment (default 1)
+ -a, --auto-idle Auto idle setting of the environment. Set to enable, --auto-idle=false to disable
--deploy-base-ref string Updates the deploy base ref for the selected environment
--deploy-head-ref string Updates the deploy head ref for the selected environment
--deploy-title string Updates the deploy title for the selected environment
@@ -25,21 +25,22 @@ lagoon update environment [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_notification.md b/docs/commands/lagoon_update_notification.md
index 23eada3f..bafd3c17 100644
--- a/docs/commands/lagoon_update_notification.md
+++ b/docs/commands/lagoon_update_notification.md
@@ -11,21 +11,22 @@ List all notifications or notifications on projects
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_notification_email.md b/docs/commands/lagoon_update_notification_email.md
index 9049d3fe..511b1366 100644
--- a/docs/commands/lagoon_update_notification_email.md
+++ b/docs/commands/lagoon_update_notification_email.md
@@ -18,21 +18,22 @@ lagoon update notification email [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_notification_microsoftteams.md b/docs/commands/lagoon_update_notification_microsoftteams.md
index c7d900b9..10ea4832 100644
--- a/docs/commands/lagoon_update_notification_microsoftteams.md
+++ b/docs/commands/lagoon_update_notification_microsoftteams.md
@@ -18,21 +18,22 @@ lagoon update notification microsoftteams [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_notification_rocketchat.md b/docs/commands/lagoon_update_notification_rocketchat.md
index 9a7f8066..f94cf8b8 100644
--- a/docs/commands/lagoon_update_notification_rocketchat.md
+++ b/docs/commands/lagoon_update_notification_rocketchat.md
@@ -19,21 +19,22 @@ lagoon update notification rocketchat [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_notification_slack.md b/docs/commands/lagoon_update_notification_slack.md
index a2d06d5b..ad5358fe 100644
--- a/docs/commands/lagoon_update_notification_slack.md
+++ b/docs/commands/lagoon_update_notification_slack.md
@@ -19,21 +19,22 @@ lagoon update notification slack [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_notification_webhook.md b/docs/commands/lagoon_update_notification_webhook.md
index b42d1e4c..4a083c2c 100644
--- a/docs/commands/lagoon_update_notification_webhook.md
+++ b/docs/commands/lagoon_update_notification_webhook.md
@@ -18,21 +18,22 @@ lagoon update notification webhook [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_organization.md b/docs/commands/lagoon_update_organization.md
index 9a223a97..2501423e 100644
--- a/docs/commands/lagoon_update_organization.md
+++ b/docs/commands/lagoon_update_organization.md
@@ -23,21 +23,22 @@ lagoon update organization [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_project-by-metadata.md b/docs/commands/lagoon_update_project-by-metadata.md
deleted file mode 100644
index 3d29503f..00000000
--- a/docs/commands/lagoon_update_project-by-metadata.md
+++ /dev/null
@@ -1,41 +0,0 @@
-## lagoon update project-by-metadata
-
-Update a projects metadata with a given key or key:value
-
-### Synopsis
-
-Update a projects metadata with a given key or key:value
-
-```
-lagoon update project-by-metadata [flags]
-```
-
-### Options
-
-```
- -h, --help help for project-by-metadata
- --key string The key name of the metadata value you are querying on
- --value string The value for the key you are querying on
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon update](lagoon_update.md) - Update a resource
-
diff --git a/docs/commands/lagoon_update_project-metadata.md b/docs/commands/lagoon_update_project-metadata.md
index 2e88eb48..5eeac27d 100644
--- a/docs/commands/lagoon_update_project-metadata.md
+++ b/docs/commands/lagoon_update_project-metadata.md
@@ -17,21 +17,22 @@ lagoon update project-metadata [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_project.md b/docs/commands/lagoon_update_project.md
index 6bc62033..4ad45339 100644
--- a/docs/commands/lagoon_update_project.md
+++ b/docs/commands/lagoon_update_project.md
@@ -37,21 +37,22 @@ lagoon update project [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_rocketchat.md b/docs/commands/lagoon_update_rocketchat.md
deleted file mode 100644
index bedbd37f..00000000
--- a/docs/commands/lagoon_update_rocketchat.md
+++ /dev/null
@@ -1,44 +0,0 @@
-## lagoon update rocketchat
-
-Update an existing Rocket.Chat notification
-
-### Synopsis
-
-Update an existing Rocket.Chat notification
-
-```
-lagoon update rocketchat [flags]
-```
-
-### Options
-
-```
- -c, --channel string The channel for the notification
- -h, --help help for rocketchat
- -j, --json string JSON string to patch
- -n, --name string The current name of the notification
- -N, --newname string The name of the notification
- -w, --webhook string The webhook URL of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon update](lagoon_update.md) - Update a resource
-
diff --git a/docs/commands/lagoon_update_slack.md b/docs/commands/lagoon_update_slack.md
deleted file mode 100644
index c242d822..00000000
--- a/docs/commands/lagoon_update_slack.md
+++ /dev/null
@@ -1,44 +0,0 @@
-## lagoon update slack
-
-Update an existing Slack notification
-
-### Synopsis
-
-Update an existing Slack notification
-
-```
-lagoon update slack [flags]
-```
-
-### Options
-
-```
- -c, --channel string The channel for the notification
- -h, --help help for slack
- -j, --json string JSON string to patch
- -n, --name string The current name of the notification
- -N, --newname string The name of the notification
- -w, --webhook string The webhook URL of the notification
-```
-
-### Options inherited from parent commands
-
-```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
-```
-
-### SEE ALSO
-
-* [lagoon update](lagoon_update.md) - Update a resource
-
diff --git a/docs/commands/lagoon_update_user.md b/docs/commands/lagoon_update_user.md
index 2d8a9c0e..8d615b27 100644
--- a/docs/commands/lagoon_update_user.md
+++ b/docs/commands/lagoon_update_user.md
@@ -23,21 +23,22 @@ lagoon update user [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_update_variable.md b/docs/commands/lagoon_update_variable.md
index ddcf18c6..1f61ee15 100644
--- a/docs/commands/lagoon_update_variable.md
+++ b/docs/commands/lagoon_update_variable.md
@@ -18,21 +18,22 @@ lagoon update variable [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_upload.md b/docs/commands/lagoon_upload.md
index ac070095..e1d34484 100644
--- a/docs/commands/lagoon_upload.md
+++ b/docs/commands/lagoon_upload.md
@@ -11,21 +11,22 @@ Upload files to tasks
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_upload_task-files.md b/docs/commands/lagoon_upload_task-files.md
index 7e69ec03..0bc6bd3b 100644
--- a/docs/commands/lagoon_upload_task-files.md
+++ b/docs/commands/lagoon_upload_task-files.md
@@ -21,21 +21,22 @@ lagoon upload task-files [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_version.md b/docs/commands/lagoon_version.md
index db68a7c1..62e79a11 100644
--- a/docs/commands/lagoon_version.md
+++ b/docs/commands/lagoon_version.md
@@ -15,21 +15,22 @@ lagoon version [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_web.md b/docs/commands/lagoon_web.md
index cb9edd92..84f940ba 100644
--- a/docs/commands/lagoon_web.md
+++ b/docs/commands/lagoon_web.md
@@ -15,21 +15,22 @@ lagoon web [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/docs/commands/lagoon_whoami.md b/docs/commands/lagoon_whoami.md
index 521c8513..9f9e4f06 100644
--- a/docs/commands/lagoon_whoami.md
+++ b/docs/commands/lagoon_whoami.md
@@ -21,21 +21,22 @@ lagoon whoami [flags]
### Options inherited from parent commands
```
- --config-file string Path to the config file to use (must be *.yml or *.yaml)
- --debug Enable debugging output (if supported)
- -e, --environment string Specify an environment to use
- --force Force yes on prompts (if supported)
- -l, --lagoon string The Lagoon instance to interact with
- --no-header No header on table (if supported)
- --output-csv Output as CSV (if supported)
- --output-json Output as JSON (if supported)
- --pretty Make JSON pretty (if supported)
- -p, --project string Specify a project to use
- --skip-update-check Skip checking for updates
- -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
- --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
- This will override any public key identities defined in configuration
- -v, --verbose Enable verbose output to stderr (if supported)
+ --config-file string Path to the config file to use (must be *.yml or *.yaml)
+ --debug Enable debugging output (if supported)
+ -e, --environment string Specify an environment to use
+ --force Force yes on prompts (if supported)
+ -l, --lagoon string The Lagoon instance to interact with
+ --no-header No header on table (if supported)
+ --output-csv Output as CSV (if supported)
+ --output-json Output as JSON (if supported)
+ --pretty Make JSON pretty (if supported)
+ -p, --project string Specify a project to use
+ --skip-update-check Skip checking for updates
+ -i, --ssh-key string Specify path to a specific SSH key to use for lagoon authentication
+ --ssh-publickey string Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
+ This will override any public key identities defined in configuration
+ --strict-host-key-checking string Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
+ -v, --verbose Enable verbose output to stderr (if supported)
```
### SEE ALSO
diff --git a/go.mod b/go.mod
index 37f103f8..5d58e15b 100644
--- a/go.mod
+++ b/go.mod
@@ -5,7 +5,6 @@ go 1.21
require (
github.com/Masterminds/semver/v3 v3.2.1
github.com/golang-jwt/jwt v3.2.2+incompatible
- github.com/golang/mock v1.6.0
github.com/google/go-github v0.0.0-20180716180158-c0b63e2f9bb1
github.com/google/uuid v1.5.0
github.com/guregu/null v4.0.0+incompatible
@@ -16,12 +15,14 @@ require (
github.com/machinebox/graphql v0.2.3-0.20181106130121-3a9253180225
github.com/manifoldco/promptui v0.9.0
github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4
+ github.com/skeema/knownhosts v1.3.0
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.2
- github.com/uselagoon/machinery v0.0.27
- golang.org/x/crypto v0.21.0
- golang.org/x/term v0.18.0
+ github.com/uselagoon/machinery v0.0.31
+ go.uber.org/mock v0.4.0
+ golang.org/x/crypto v0.26.0
+ golang.org/x/term v0.23.0
gopkg.in/yaml.v3 v3.0.1
sigs.k8s.io/yaml v1.4.0
)
@@ -37,7 +38,7 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
- golang.org/x/sys v0.18.0 // indirect
+ golang.org/x/sys v0.23.0 // indirect
)
//replace github.com/uselagoon/machinery => ../machinery
diff --git a/go.sum b/go.sum
index 6b01b7af..d08c6ef2 100644
--- a/go.sum
+++ b/go.sum
@@ -13,8 +13,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
-github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=
-github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-github v0.0.0-20180716180158-c0b63e2f9bb1 h1:tV3a8xSFYfQgA9b54eOE0A6Db//aeD+SQWawHfhaoLs=
@@ -54,6 +52,8 @@ github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
+github.com/skeema/knownhosts v1.3.0 h1:AM+y0rI04VksttfwjkSTNQorvGqmwATnvnAHpSgc0LY=
+github.com/skeema/knownhosts v1.3.0/go.mod h1:sPINvnADmT/qYH1kfv+ePMmOBTH6Tbl7b5LvTDjFK7M=
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
@@ -66,39 +66,18 @@ github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
-github.com/uselagoon/machinery v0.0.27 h1:luIrdAiVhCPgxAwh2gtPm5iepMnXyTR6sNbuLuBhk80=
-github.com/uselagoon/machinery v0.0.27/go.mod h1:NbgtEofjK2XY0iUpk9aMYazIo+W/NI56+UF72jv8zVY=
-github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
-golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA=
-golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
-golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
-golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
-golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+github.com/uselagoon/machinery v0.0.31 h1:SkJ+muPBb9Q5vNI0bgXxZai6jN103iSj3e3d3DcZlc4=
+github.com/uselagoon/machinery v0.0.31/go.mod h1:RsHzIMOam3hiA4CKR12yANgzdTGy6tz4D19umjMzZyw=
+go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU=
+go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc=
+golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw=
+golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54=
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
-golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
-golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
-golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8=
-golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58=
-golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
-golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM=
+golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU=
+golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
diff --git a/internal/lagoon/config.go b/internal/lagoon/config.go
index 60e76a06..b93206e0 100644
--- a/internal/lagoon/config.go
+++ b/internal/lagoon/config.go
@@ -7,6 +7,7 @@ type Config struct {
Lagoons map[string]Context `json:"lagoons"`
UpdateCheckDisable bool `json:"updatecheckdisable,omitempty"`
EnvironmentFromDirectory bool `json:"environmentfromdirectory,omitempty"`
+ StrictHostKeyChecking string `json:"stricthostkeychecking,omitempty"`
}
// Context is used for each lagoon context in the config file.
diff --git a/internal/lagoon/import_test.go b/internal/lagoon/import_test.go
index 1f65f1fd..d446a98b 100644
--- a/internal/lagoon/import_test.go
+++ b/internal/lagoon/import_test.go
@@ -7,11 +7,11 @@ import (
"os"
"testing"
- "github.com/golang/mock/gomock"
"github.com/uselagoon/lagoon-cli/internal/lagoon"
"github.com/uselagoon/lagoon-cli/internal/mock"
"github.com/uselagoon/lagoon-cli/internal/schema"
api "github.com/uselagoon/machinery/api/schema"
+ "go.uber.org/mock/gomock"
)
// importCalls stores arrays of expected import calls associated with a given
diff --git a/internal/mock/mock_importer.go b/internal/mock/mock_importer.go
index 603e530c..843dd53f 100644
--- a/internal/mock/mock_importer.go
+++ b/internal/mock/mock_importer.go
@@ -1,5 +1,10 @@
// Code generated by MockGen. DO NOT EDIT.
// Source: import.go
+//
+// Generated by this command:
+//
+// mockgen -source=import.go -destination=../mock/mock_importer.go -package=mock
+//
// Package mock is a generated GoMock package.
package mock
@@ -8,8 +13,8 @@ import (
context "context"
reflect "reflect"
- gomock "github.com/golang/mock/gomock"
schema "github.com/uselagoon/lagoon-cli/internal/schema"
+ gomock "go.uber.org/mock/gomock"
)
// MockImporter is a mock of Importer interface.
@@ -44,7 +49,7 @@ func (m *MockImporter) AddEnvVariable(arg0 context.Context, arg1 *schema.EnvVari
}
// AddEnvVariable indicates an expected call of AddEnvVariable.
-func (mr *MockImporterMockRecorder) AddEnvVariable(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddEnvVariable(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddEnvVariable", reflect.TypeOf((*MockImporter)(nil).AddEnvVariable), arg0, arg1, arg2)
}
@@ -58,7 +63,7 @@ func (m *MockImporter) AddGroup(arg0 context.Context, arg1 *schema.AddGroupInput
}
// AddGroup indicates an expected call of AddGroup.
-func (mr *MockImporterMockRecorder) AddGroup(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddGroup(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddGroup", reflect.TypeOf((*MockImporter)(nil).AddGroup), arg0, arg1, arg2)
}
@@ -72,7 +77,7 @@ func (m *MockImporter) AddGroupsToProject(arg0 context.Context, arg1 *schema.Pro
}
// AddGroupsToProject indicates an expected call of AddGroupsToProject.
-func (mr *MockImporterMockRecorder) AddGroupsToProject(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddGroupsToProject(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddGroupsToProject", reflect.TypeOf((*MockImporter)(nil).AddGroupsToProject), arg0, arg1, arg2)
}
@@ -86,7 +91,7 @@ func (m *MockImporter) AddNotificationEmail(arg0 context.Context, arg1 *schema.A
}
// AddNotificationEmail indicates an expected call of AddNotificationEmail.
-func (mr *MockImporterMockRecorder) AddNotificationEmail(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddNotificationEmail(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNotificationEmail", reflect.TypeOf((*MockImporter)(nil).AddNotificationEmail), arg0, arg1, arg2)
}
@@ -100,7 +105,7 @@ func (m *MockImporter) AddNotificationMicrosoftTeams(arg0 context.Context, arg1
}
// AddNotificationMicrosoftTeams indicates an expected call of AddNotificationMicrosoftTeams.
-func (mr *MockImporterMockRecorder) AddNotificationMicrosoftTeams(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddNotificationMicrosoftTeams(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNotificationMicrosoftTeams", reflect.TypeOf((*MockImporter)(nil).AddNotificationMicrosoftTeams), arg0, arg1, arg2)
}
@@ -114,7 +119,7 @@ func (m *MockImporter) AddNotificationRocketChat(arg0 context.Context, arg1 *sch
}
// AddNotificationRocketChat indicates an expected call of AddNotificationRocketChat.
-func (mr *MockImporterMockRecorder) AddNotificationRocketChat(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddNotificationRocketChat(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNotificationRocketChat", reflect.TypeOf((*MockImporter)(nil).AddNotificationRocketChat), arg0, arg1, arg2)
}
@@ -128,7 +133,7 @@ func (m *MockImporter) AddNotificationSlack(arg0 context.Context, arg1 *schema.A
}
// AddNotificationSlack indicates an expected call of AddNotificationSlack.
-func (mr *MockImporterMockRecorder) AddNotificationSlack(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddNotificationSlack(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNotificationSlack", reflect.TypeOf((*MockImporter)(nil).AddNotificationSlack), arg0, arg1, arg2)
}
@@ -142,7 +147,7 @@ func (m *MockImporter) AddNotificationToProject(arg0 context.Context, arg1 *sche
}
// AddNotificationToProject indicates an expected call of AddNotificationToProject.
-func (mr *MockImporterMockRecorder) AddNotificationToProject(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddNotificationToProject(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNotificationToProject", reflect.TypeOf((*MockImporter)(nil).AddNotificationToProject), arg0, arg1, arg2)
}
@@ -156,7 +161,7 @@ func (m *MockImporter) AddOrUpdateEnvironment(arg0 context.Context, arg1 *schema
}
// AddOrUpdateEnvironment indicates an expected call of AddOrUpdateEnvironment.
-func (mr *MockImporterMockRecorder) AddOrUpdateEnvironment(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddOrUpdateEnvironment(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddOrUpdateEnvironment", reflect.TypeOf((*MockImporter)(nil).AddOrUpdateEnvironment), arg0, arg1, arg2)
}
@@ -170,7 +175,7 @@ func (m *MockImporter) AddProject(arg0 context.Context, arg1 *schema.AddProjectI
}
// AddProject indicates an expected call of AddProject.
-func (mr *MockImporterMockRecorder) AddProject(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddProject(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddProject", reflect.TypeOf((*MockImporter)(nil).AddProject), arg0, arg1, arg2)
}
@@ -184,7 +189,7 @@ func (m *MockImporter) AddSSHKey(arg0 context.Context, arg1 *schema.AddSSHKeyInp
}
// AddSSHKey indicates an expected call of AddSSHKey.
-func (mr *MockImporterMockRecorder) AddSSHKey(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddSSHKey(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddSSHKey", reflect.TypeOf((*MockImporter)(nil).AddSSHKey), arg0, arg1, arg2)
}
@@ -198,7 +203,7 @@ func (m *MockImporter) AddUser(arg0 context.Context, arg1 *schema.AddUserInput,
}
// AddUser indicates an expected call of AddUser.
-func (mr *MockImporterMockRecorder) AddUser(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddUser(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddUser", reflect.TypeOf((*MockImporter)(nil).AddUser), arg0, arg1, arg2)
}
@@ -212,7 +217,7 @@ func (m *MockImporter) AddUserToGroup(arg0 context.Context, arg1 *schema.UserGro
}
// AddUserToGroup indicates an expected call of AddUserToGroup.
-func (mr *MockImporterMockRecorder) AddUserToGroup(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) AddUserToGroup(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddUserToGroup", reflect.TypeOf((*MockImporter)(nil).AddUserToGroup), arg0, arg1, arg2)
}
@@ -226,7 +231,7 @@ func (m *MockImporter) EnvironmentByName(arg0 context.Context, arg1 string, arg2
}
// EnvironmentByName indicates an expected call of EnvironmentByName.
-func (mr *MockImporterMockRecorder) EnvironmentByName(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) EnvironmentByName(arg0, arg1, arg2, arg3 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnvironmentByName", reflect.TypeOf((*MockImporter)(nil).EnvironmentByName), arg0, arg1, arg2, arg3)
}
@@ -240,7 +245,7 @@ func (m *MockImporter) ProjectByName(arg0 context.Context, arg1 string, arg2 *sc
}
// ProjectByName indicates an expected call of ProjectByName.
-func (mr *MockImporterMockRecorder) ProjectByName(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockImporterMockRecorder) ProjectByName(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProjectByName", reflect.TypeOf((*MockImporter)(nil).ProjectByName), arg0, arg1, arg2)
}
diff --git a/pkg/app/app.go b/pkg/app/app.go
index 9f4b8505..eef4f5c2 100644
--- a/pkg/app/app.go
+++ b/pkg/app/app.go
@@ -43,7 +43,7 @@ func (project *LagoonProject) ReadConfig() error {
}
sourceCompose, _ := os.ReadFile(dockerComposeFilepath)
var dockerCompose LagoonDockerCompose
- yaml.Unmarshal(sourceCompose, &dockerCompose)
+ _ = yaml.Unmarshal(sourceCompose, &dockerCompose)
// Reset the name based on the docker-compose.yml file.
project.Name = dockerCompose.LagoonProject
@@ -83,8 +83,8 @@ func getProjectFromPath(path string) (LagoonProject, error) {
}
app.Name = filepath.Base(appDir)
app.Dir = appDir
- app.ReadConfig()
- return app, nil
+ err = app.ReadConfig()
+ return app, err
}
func findLocalProjectRoot(path string) (string, error) {
@@ -98,7 +98,7 @@ func findLocalProjectRoot(path string) (string, error) {
return path, nil
}
}
- return "", fmt.Errorf("no %s file was found in this directory or any parent", filepath.Join(".lagoon.yml"))
+ return "", fmt.Errorf("no .lagoon.yml file was found in this directory or any parent")
}
// FileExists checks a file's existence
diff --git a/pkg/lagoon/ssh/main.go b/pkg/lagoon/ssh/main.go
index 8dc05b7d..64136a8d 100644
--- a/pkg/lagoon/ssh/main.go
+++ b/pkg/lagoon/ssh/main.go
@@ -2,11 +2,15 @@
package ssh
import (
+ "bufio"
"bytes"
"fmt"
+ "net"
"os"
+ "path"
"strings"
+ "github.com/skeema/knownhosts"
"golang.org/x/crypto/ssh"
"golang.org/x/term"
)
@@ -39,13 +43,13 @@ func LogStream(config *ssh.ClientConfig, host, port string, argv []string) error
func InteractiveSSH(lagoon map[string]string, sshService string, sshContainer string, config *ssh.ClientConfig) error {
client, err := ssh.Dial("tcp", lagoon["hostname"]+":"+lagoon["port"], config)
if err != nil {
- return fmt.Errorf("Failed to dial: " + err.Error() + "\nCheck that the project or environment you are trying to connect to exists")
+ return fmt.Errorf("failed to dial: %s\nCheck that the project or environment you are trying to connect to exists", err.Error())
}
// start the session
session, err := client.NewSession()
if err != nil {
- return fmt.Errorf("Failed to create session: " + err.Error())
+ return fmt.Errorf("failed to create session: %s", err.Error())
}
defer session.Close()
session.Stdout = os.Stdout
@@ -62,7 +66,12 @@ func InteractiveSSH(lagoon map[string]string, sshService string, sshContainer st
if err != nil {
return err
}
- defer term.Restore(fileDescriptor, originalState)
+ defer func() {
+ err = term.Restore(fileDescriptor, originalState)
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "error restoring ssh terminal:%v\n", err)
+ }
+ }()
termWidth, termHeight, err := term.GetSize(fileDescriptor)
if err != nil {
return err
@@ -81,23 +90,22 @@ func InteractiveSSH(lagoon map[string]string, sshService string, sshContainer st
}
err = session.Start(connString)
if err != nil {
- return fmt.Errorf("Failed to start shell: " + err.Error())
+ return fmt.Errorf("failed to start shell: %s", err.Error())
}
- session.Wait()
- return nil
+ return session.Wait()
}
// RunSSHCommand .
func RunSSHCommand(lagoon map[string]string, sshService string, sshContainer string, command string, config *ssh.ClientConfig) error {
client, err := ssh.Dial("tcp", lagoon["hostname"]+":"+lagoon["port"], config)
if err != nil {
- return fmt.Errorf("Failed to dial: " + err.Error() + "\nCheck that the project or environment you are trying to connect to exists")
+ return fmt.Errorf("failed to dial: %s\nCheck that the project or environment you are trying to connect to exists", err.Error())
}
// start the session
session, err := client.NewSession()
if err != nil {
- return fmt.Errorf("Failed to create session: " + err.Error())
+ return fmt.Errorf("failed to create session: %s", err.Error())
}
defer session.Close()
session.Stdout = os.Stdout
@@ -114,7 +122,12 @@ func RunSSHCommand(lagoon map[string]string, sshService string, sshContainer str
if err != nil {
return err
}
- defer term.Restore(fileDescriptor, originalState)
+ defer func() {
+ err = term.Restore(fileDescriptor, originalState)
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "error restoring ssh terminal:%v\n", err)
+ }
+ }()
termWidth, termHeight, err := term.GetSize(fileDescriptor)
if err != nil {
return err
@@ -141,3 +154,87 @@ func RunSSHCommand(lagoon map[string]string, sshService string, sshContainer str
fmt.Println(b.String())
return nil
}
+
+// make the
+var hostKeyWarn = `The authenticity of host '%s' can't be established.
+%s key fingerprint is %s.
+Are you sure you want to continue connecting %s`
+
+var remoteHostChanged = `@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
+Someone could be eavesdropping on you right now (man-in-the-middle attack)!
+It is also possible that a host key has just been changed.
+The fingerprint for the %s key sent by the remote host is
+%s
+Add correct host key in %s to get rid of this message`
+
+// add interactive known hosts to reduce confusion with host key errors
+func InteractiveKnownHosts(userPath, host string, ignorehost, accept bool) (ssh.HostKeyCallback, []string, error) {
+ if ignorehost {
+ // if ignore provided, just skip the hostkey verifications
+ return ssh.InsecureIgnoreHostKey(), nil, nil
+ }
+ kh, err := knownhosts.NewDB(path.Join(userPath, ".ssh/known_hosts"))
+ if err != nil {
+ return nil, nil, fmt.Errorf("couldn't get ~/.ssh/known_hosts: %v", err)
+ }
+ // otherwise prompt or accept for the key if required
+ return ssh.HostKeyCallback(func(hostname string, remote net.Addr, key ssh.PublicKey) error {
+ filePath := path.Join(userPath, ".ssh/known_hosts")
+ innerCallback := kh.HostKeyCallback()
+ err := innerCallback(hostname, remote, key)
+ sshPubKey := ssh.MarshalAuthorizedKey(key)
+ pub, _, _, _, perr := ssh.ParseAuthorizedKey(sshPubKey)
+ if perr != nil {
+ return fmt.Errorf("knownhosts: host key verification failed")
+ }
+ if knownhosts.IsHostKeyChanged(err) {
+ os.Stderr.WriteString(fmt.Sprintf(remoteHostChanged, key.Type(), ssh.FingerprintSHA256(pub), filePath))
+ return fmt.Errorf("knownhosts: host key verification failed")
+ } else if knownhosts.IsHostUnknown(err) {
+ f, ferr := os.OpenFile(filePath, os.O_APPEND|os.O_WRONLY, 0600)
+ if ferr == nil {
+ defer f.Close()
+ var response string
+ if accept {
+ response = "y"
+ } else {
+ os.Stderr.WriteString(fmt.Sprintf(hostKeyWarn, hostname, key.Type(), ssh.FingerprintSHA256(pub), "(yes/no)? "))
+ reader := bufio.NewReader(os.Stdin)
+ response, err = reader.ReadString('\n')
+ if err != nil {
+ return fmt.Errorf("knownhosts: host key verification failed %v", err)
+ }
+ response = strings.ToLower(strings.TrimSpace(response))
+ }
+ if response == "Yes" || response == "yes" || response == "y" {
+ ferr = knownhosts.WriteKnownHost(f, hostname, remote, key)
+ } else {
+ return fmt.Errorf("knownhosts: host key verification failed")
+ }
+ }
+ if ferr == nil {
+ os.Stderr.WriteString(fmt.Sprintf("Warning: Permanently added '%s' to the list of known hosts\n", hostname))
+ } else {
+ os.Stderr.WriteString(fmt.Sprintf("Failed to add host %s to known_hosts: %v\n", hostname, ferr))
+ }
+ return nil // permit previously-unknown hosts (warning: may be insecure)
+ }
+ return err
+ }), kh.HostKeyAlgorithms(host), nil
+}
+
+func CheckStrictHostKey(v string) (bool, bool) {
+ if v == "ignore" || v == "no" {
+ // return ignore true, accept false
+ return true, false
+ }
+ if v == "accept-new" {
+ // return ignore false, accept true
+ return false, true
+ }
+ // default "accept-new"
+ return false, false
+}
diff --git a/pkg/output/main.go b/pkg/output/main.go
index 35388a33..29c28e8e 100644
--- a/pkg/output/main.go
+++ b/pkg/output/main.go
@@ -118,7 +118,7 @@ func RenderOutput(data Table, opts Options) string {
for _, dataValues := range data.Data {
jsonData := make(map[string]interface{})
for indexID, dataValue := range dataValues {
- dataHeader := strings.Replace(strings.ToLower(data.Header[indexID]), " ", "-", -1)
+ dataHeader := strings.ReplaceAll(strings.ToLower(data.Header[indexID]), " ", "-")
jsonData[dataHeader] = dataValue
}
rawData = append(rawData, jsonData)
diff --git a/pkg/output/main_test.go b/pkg/output/main_test.go
index 2c295957..50a743b9 100644
--- a/pkg/output/main_test.go
+++ b/pkg/output/main_test.go
@@ -61,7 +61,7 @@ func TestRenderError(t *testing.T) {
RenderError(testData, outputOptions)
w.Close()
var out bytes.Buffer
- io.Copy(&out, r)
+ _, _ = io.Copy(&out, r)
if out.String() != testSuccess {
checkEqual(t, out.String(), testSuccess, " render error stdout processing failed")
}
@@ -87,7 +87,7 @@ func TestRenderInfo(t *testing.T) {
RenderInfo(testData, outputOptions)
w.Close()
var out bytes.Buffer
- io.Copy(&out, r)
+ _, _ = io.Copy(&out, r)
if out.String() != testSuccess1 {
checkEqual(t, out.String(), testSuccess1, " render info stdout processing failed")
}
@@ -109,7 +109,7 @@ func TestRenderOutput(t *testing.T) {
}
var dataMain Table
- json.Unmarshal([]byte(testData), &dataMain)
+ _ = json.Unmarshal([]byte(testData), &dataMain)
output := RenderOutput(dataMain, outputOptions)
if output != testSuccess1 {
diff --git a/pkg/updatecheck/updatecheck.go b/pkg/updatecheck/updatecheck.go
index c5e3fc8b..81593ae5 100644
--- a/pkg/updatecheck/updatecheck.go
+++ b/pkg/updatecheck/updatecheck.go
@@ -79,10 +79,5 @@ func ResetUpdateTime(filepath string) error {
// isReleaseVersion does a (very naive) check on whether a version string consistutes a release version or a dev build.
func isReleaseVersion(version string) bool {
parts := strings.Split(version, "-")
-
- if len(parts) > 1 {
- return false
- }
-
- return true
+ return len(parts) <= 1
}
diff --git a/pkg/updatecheck/updatecheck_test.go b/pkg/updatecheck/updatecheck_test.go
index 654be53d..0cd703ce 100644
--- a/pkg/updatecheck/updatecheck_test.go
+++ b/pkg/updatecheck/updatecheck_test.go
@@ -43,7 +43,7 @@ func CreateTmpDir(prefix string) string {
func CleanupDir(dir string) {
err := os.RemoveAll(dir)
if err != nil {
- log.Println(fmt.Sprintf("Failed to remove directory %s, err: %v", dir, err))
+ log.Printf("Failed to remove directory %s, err: %v", dir, err)
}
}