From e6d615432d76713c40a11b637daaa95b0969c2fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Bara=C3=BAna?= Date: Wed, 30 Jul 2025 10:43:54 -0300 Subject: [PATCH] Improve CLI deploy help message (#3035) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: José Valim --- 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..d99107f2c 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 [filename...] ## 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