From 0bb6bcf24cfafaad564a3dbacd1a5f9fc19cbb4b Mon Sep 17 00:00:00 2001 From: tydeu Date: Mon, 11 Sep 2023 19:25:23 -0400 Subject: [PATCH] feat: lake: add `upgrade` and `exec` CLI aliases --- src/lake/Lake/CLI/Help.lean | 42 ++++++++++++++++++++++--------------- src/lake/Lake/CLI/Main.lean | 34 +++++++++++++++--------------- 2 files changed, 42 insertions(+), 34 deletions(-) diff --git a/src/lake/Lake/CLI/Help.lean b/src/lake/Lake/CLI/Help.lean index 023295b0db..0d9b9e5a97 100644 --- a/src/lake/Lake/CLI/Help.lean +++ b/src/lake/Lake/CLI/Help.lean @@ -111,6 +111,8 @@ def helpUpdate := USAGE: lake update [...] +ALIAS: lake upgrade + Updates the Lake package manifest (i.e., `lake-manifest.json`), downloading and upgrading packages as needed. For each new (transitive) git dependency, the appropriate commit is cloned into a subdirectory of @@ -160,6 +162,8 @@ def helpScriptList := USAGE: lake script list +ALIAS: lake scripts + This command prints the list of all available scripts in the workspace." def helpScriptRun := @@ -168,6 +172,8 @@ def helpScriptRun := USAGE: lake script run [[/]