From 59279360e7cf16a0fe357a98edf4f0ad2e9a32d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Bara=C3=BAna?= Date: Tue, 29 Jul 2025 18:38:06 -0300 Subject: [PATCH] Improve CLI deploy help message --- lib/livebook_cli/deploy.ex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/livebook_cli/deploy.ex b/lib/livebook_cli/deploy.ex index 267718fa9..206c91f9b 100644 --- a/lib/livebook_cli/deploy.ex +++ b/lib/livebook_cli/deploy.ex @@ -10,12 +10,12 @@ defmodule LivebookCLI.Deploy do @impl true def usage() do """ - Usage: livebook deploy [options] filename|directory + Usage: livebook deploy [options] filename|glob pattern ## Available options - --deploy-key Sets the deploy key to authenticate with Livebook Teams - --teams-key Sets the Teams key to authenticate with Livebook Teams and encrypt the Livebook app + --deploy-key Deploy key from your Livebook Teams organization + --teams-key Teams key from your Teams workspace --deployment-group The deployment group name which you want to deploy to The --help option can be given to print this notice. @@ -24,11 +24,11 @@ defmodule LivebookCLI.Deploy do Deploys a single notebook: - livebook deploy --deploy-key="lb_dk_..." --teams-key="lb_tk_..." --deployment-group "online" path/to/app1.livemd + livebook deploy --deploy-key="lb_dk_..." --teams-key="lb_tk_..." --deployment-group="production" path/to/app1.livemd Deploys multiple notebooks: - livebook deploy --deploy-key="lb_dk_..." --teams-key="lb_tk_..." --deployment-group "online" path/to/*.livemd\ + livebook deploy --deploy-key="lb_dk_..." --teams-key="lb_tk_..." --deployment-group="production" path/to/*.livemd\ """ end