mammoth-spring-77701
09/18/2023, 2:32 PM$ pants --version
Error: Isolates your Pants from the elements.
Please select from the following boot commands:
scie-pants
bootstrap-tools
pants
pants-debug
update
You can select a boot command by passing it as the 1st argument or else by setting the SCIE_BOOT environment variable.
I set SCIE_BOOT, based on the install instructions. so “update pants”enough-analyst-54434
09/18/2023, 2:58 PMenough-analyst-54434
09/18/2023, 2:59 PMRUST_LOG=trace pants -V
? The output will be massive but it may help to see it.enough-analyst-54434
09/18/2023, 3:07 PMcurved-television-6568
09/18/2023, 3:11 PMI set SCIE_BOOT, based on the install instructions. so “update pants”what if you don’t set this at all?
curved-television-6568
09/18/2023, 3:13 PMpants
launcher, then you either use brew upgrade
or export SCIE_BOOT=update
then run pants
I separated them to make it clear that the value to provide to the env var there is just update
as it seems you set it to update pants
.curved-television-6568
09/18/2023, 3:14 PMenough-analyst-54434
09/18/2023, 3:40 PMexport SCIE_BOOT="update pants"
, since that makes the error you got make sense.mammoth-spring-77701
09/18/2023, 4:15 PMenough-analyst-54434
09/18/2023, 4:43 PMenough-analyst-54434
09/18/2023, 4:54 PMenough-analyst-54434
09/18/2023, 4:58 PMscience
does not honor command descriptions
and they all show up blank in the scie help output:
2. The scie help output should probably hide scie boot commands with no description.
3. The scie-pants project should probably convert all its command descriptions to comments save for update
and bootstrap-tools
which are the only two intended for use by end users.enough-analyst-54434
09/18/2023, 5:10 PMenough-analyst-54434
09/18/2023, 5:11 PMenough-analyst-54434
09/18/2023, 7:30 PMscience
is here: https://github.com/a-scie/lift/pull/44enough-analyst-54434
09/19/2023, 6:44 PMcurved-television-6568
09/19/2023, 6:58 PMenough-analyst-54434
09/19/2023, 7:08 PMcurved-television-6568
09/19/2023, 7:18 PMenough-analyst-54434
09/20/2023, 12:07 AMscience
issue (command description propagation) is fixed in the 0.2.1 release:
+ https://github.com/a-scie/lift/releases/tag/v0.2.1
The confusing help message when a bad SCIE_BOOT is supplied + the ability to hide internal-only commands from the help message is available in the scie-jump
0.13.0 release:
+ https://github.com/a-scie/jump/releases/tag/v0.13.0
The scie-pants maintainers can now upgrade to these if they wish + modify the scie-pants.toml lift manifest to have 2 less descriptions and get the following for the OP error case in this thread:
$ export SCIE_BOOT="update pants"
$ pants --version
Error: `SCIE_BOOT=update pants` was found in the environment but "update pants" does not correspond to any scie-pants commands.
Isolates your Pants from the elements.
Please select from the following boot commands:
<default> (when SCIE_BOOT is not set in the environment) Detects the current Pants installation and launches it.
bootstrap-tools Introspection tools for the Pants bootstrap process.
update Update scie-pants.
You can select a boot command by setting the SCIE_BOOT environment variable.
broad-processor-92400
09/20/2023, 1:04 AM