From 3bb3adefbb8b3baff18108a009abfab87696594c Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 15 May 2020 17:21:58 -0500 Subject: [PATCH] Rename `jpm repl` to `jpm debug-repl`. --- CHANGELOG.md | 1 + jpm | 8 ++++---- jpm.1 | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df0c42a0..2b8eb297 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. ## Unreleased - ??? - Add `:fresh` option to `(import ...)` to overwrite the module cache. - `(range x y 0)` will return an empty array instead of hanging forever. +- Rename `jpm repl` to `jpm debug-repl`. ## 1.9.1 - 2020-05-12 - Add :prefix option to declare-source diff --git a/jpm b/jpm index ff1941ce..8cf4905d 100755 --- a/jpm +++ b/jpm @@ -1024,8 +1024,8 @@ Subcommands are: name is lockfile.jdn. load-lockfile (lockfile) : Install modules from a lockfile in a reproducible way. The default lockfile name is lockfile.jdn. - repl : Run a repl in the context of the current project.janet file. This lets you run rules and - otherwise debug the current project.janet file. + debug-repl : Run a repl in the context of the current project.janet file. This lets you run rules and + otherwise debug the current project.janet file. Keys are: --modpath : The directory to install modules to. Defaults to $JANET_MODPATH, $JANET_PATH, or (dyn :syspath) @@ -1109,7 +1109,7 @@ Flags are: (create-executable @{} input output) (do-rule output)) -(defn jpm-repl +(defn jpm-debug-repl [] (def env (try @@ -1138,7 +1138,7 @@ Flags are: "test" test "help" help "deps" deps - "repl" jpm-repl + "debug-repl" jpm-debug-repl "rule-tree" show-rule-tree "show-paths" show-paths "clear-cache" clear-cache diff --git a/jpm.1 b/jpm.1 index e108f57d..c6512640 100644 --- a/jpm.1 +++ b/jpm.1 @@ -26,7 +26,7 @@ More interesting are the local commands. For more information on jpm usage, see .TP .BR \-\-nocolor -Disable color in the jpm repl. +Disable color in the jpm debug repl. .TP .BR \-\-verbose @@ -172,7 +172,7 @@ as function arguments. The entry file can import other modules, including native jpm will attempt to include the dependencies into the generated executable. .TP -.BR repl +.BR debug-repl Load the current project.janet file and start a repl in it's environment. This lets a user better debug the project file, as well as run rules manually.