From 6bac51b9e5216218710d163cc1bd62d5ae39ca85 Mon Sep 17 00:00:00 2001 From: Roy Razon Date: Tue, 6 Feb 2024 16:20:37 +0200 Subject: [PATCH] v0.0.61 --- lerna.json | 2 +- packages/cli-common/package.json | 4 +- packages/cli/README.md | 1091 +++++++++++++++++++- packages/cli/package.json | 20 +- packages/common/package.json | 2 +- packages/compose-tunnel-agent/package.json | 4 +- packages/core/package.json | 6 +- packages/driver-azure/package.json | 6 +- packages/driver-gce/package.json | 4 +- packages/driver-kube-pod/package.json | 6 +- packages/driver-lightsail/package.json | 4 +- packages/plugin-github/package.json | 6 +- 12 files changed, 1107 insertions(+), 48 deletions(-) diff --git a/lerna.json b/lerna.json index 77254819..42d36452 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "0.0.60" + "version": "0.0.61" } diff --git a/packages/cli-common/package.json b/packages/cli-common/package.json index c6ebdc60..4f3650db 100644 --- a/packages/cli-common/package.json +++ b/packages/cli-common/package.json @@ -1,6 +1,6 @@ { "name": "@preevy/cli-common", - "version": "0.0.60", + "version": "0.0.61", "description": "Common library for the Preevy CLI and plugins", "type": "module", "main": "dist/index.js", @@ -14,7 +14,7 @@ "dependencies": { "@inquirer/prompts": "^3.3.0", "@oclif/core": "^3.15.1", - "@preevy/core": "0.0.60", + "@preevy/core": "0.0.61", "chalk": "^4.1.2", "iter-tools-es": "^7.5.3", "lodash-es": "^4.17.21" diff --git a/packages/cli/README.md b/packages/cli/README.md index aae40c96..f0fcac43 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -11,7 +11,6 @@ Preevy is a CLI tool for easily creating preview environments for your Docker Co * [Usage](#usage) * [Commands](#commands) -* [Command Topics](#command-topics) # Usage @@ -20,7 +19,7 @@ $ npm install -g preevy $ preevy COMMAND running command... $ preevy (--version) -preevy/0.0.60 darwin-arm64 node-v18.19.0 +preevy/0.0.61 darwin-arm64 node-v18.19.0 $ preevy --help [COMMAND] USAGE $ preevy COMMAND @@ -29,19 +28,1079 @@ USAGE # Commands -# Command Topics - -* [`preevy down`](docs/down.md) - Delete preview environments -* [`preevy help`](docs/help.md) - Display help for preevy. -* [`preevy init`](docs/init.md) - Initialize or import a new profile -* [`preevy login`](docs/login.md) - Login to the Livecycle SaaS -* [`preevy logs`](docs/logs.md) - Show logs for an existing environment -* [`preevy ls`](docs/ls.md) - List preview environments -* [`preevy profile`](docs/profile.md) - View and update profile configuration -* [`preevy purge`](docs/purge.md) - Delete all cloud provider machines and potentially other resources -* [`preevy ssh`](docs/ssh.md) - Execute a command or start an interactive shell inside an environment -* [`preevy up`](docs/up.md) - Bring up a preview environment -* [`preevy urls`](docs/urls.md) - Show urls for an existing environment -* [`preevy version`](docs/version.md) - Show Preevy version +* [`preevy down`](#preevy-down) +* [`preevy help [COMMANDS]`](#preevy-help-commands) +* [`preevy init [PROFILE-ALIAS]`](#preevy-init-profile-alias) +* [`preevy login`](#preevy-login) +* [`preevy logs [SERVICES]`](#preevy-logs-services) +* [`preevy ls`](#preevy-ls) +* [`preevy profile config update`](#preevy-profile-config-update) +* [`preevy profile config view`](#preevy-profile-config-view) +* [`preevy profile cp`](#preevy-profile-cp) +* [`preevy profile create NAME URL`](#preevy-profile-create-name-url) +* [`preevy profile current`](#preevy-profile-current) +* [`preevy profile import LOCATION`](#preevy-profile-import-location) +* [`preevy profile key [TYPE]`](#preevy-profile-key-type) +* [`preevy profile link`](#preevy-profile-link) +* [`preevy profile ls`](#preevy-profile-ls) +* [`preevy profile rm NAME`](#preevy-profile-rm-name) +* [`preevy profile use NAME`](#preevy-profile-use-name) +* [`preevy purge`](#preevy-purge) +* [`preevy ssh ENVID`](#preevy-ssh-envid) +* [`preevy up [SERVICE]`](#preevy-up-service) +* [`preevy urls [SERVICE] [PORT]`](#preevy-urls-service-port) +* [`preevy version`](#preevy-version) +## `preevy down` + +Delete preview environments + +``` +USAGE + $ preevy down [--json] [-D] [-f ] [--system-compose-file ] [--project-directory ] + [-p ] [--enable-plugin ] [--disable-plugin ] [--profile ] [-d + lightsail|gce|azure|kube-pod] [--lightsail-region ] [--gce-project-id ] [--gce-zone ] + [--azure-region ] [--azure-subscription-id ] [--kube-pod-namespace ] [--kube-pod-kubeconfig + ] [--kube-pod-context ] [--lightsail-availability-zone ] [--lightsail-bundle-id + nano_2_0|micro_2_0|small_2_0|medium_2_0|large_2_0|xlarge_2_0|2xlarge_2_0] [--gce-machine-type ] + [--azure-vm-size ] [--kube-pod-template ] [--kube-pod-server-side-apply] [--kube-pod-storage-class + ] [--kube-pod-storage-size ] [--id ] [--force] [--wait] [--github-token ] [--github-repo + ] [--github-pull-request ] [--github-pr-comment-template-file ] [--github-add-build-cache] + [--github-pr-comment-enabled auto|no|always] + +FLAGS + -d, --driver=