Skip to content

[BUG] ci command says I can get more info, but I can't #2857

@ocket8888

Description

@ocket8888

Current Behavior:

to figure out what the ci command does, I tried npm ci --help, which outputs

npm ci

Usage:
npm ci

aliases: clean-install, ic, install-clean, isntall-clean

Run "npm ci help" for more info

So, to figure out what is meant by a "clean" install, I tried to get "more info" using npm ci help. However, ci doesn't actually support the help sub-sub-command. If you try to do that, you wind up actually running a clean install as if you had just done npm ci.

Expected Behavior:

There are two possibilities. One is to actually support npm ci help by outputting a more detailed help message. The other is to simply remove the last two lines of output from npm ci --help, so that it is accurate.

I favor the former, because I still don't know what a "clean" install is - can anyone tell me?

Steps To Reproduce:

  1. npm ci --help
  2. Follow the instructions that outputs to try to obtain more information.

Environment:

                   -`                 
                  .o+`                 ocket8888@system76
                 `ooo/                 OS: Arch Linux 
                `+oooo:                Kernel: x86_64 Linux 5.11.5-arch1-1
               `+oooooo:               Uptime: 41m
               -+oooooo+:              Packages: 1520
             `/:-:++oooo+:             Shell: zsh 5.8
            `/++++/+++++++:            Resolution: 3840x2160
           `/++++++++++++++:           DE: KDE 5.79.0 / Plasma 5.21.2
          `/+++ooooooooooooo/`         WM: KWin
         ./ooosssso++osssssso+`        GTK Theme: Breeze [GTK2/3]
        .oossssso-````/ossssss+`       Icon Theme: breeze-dark
       -osssssso.      :ssssssso.      Disk: 315G / 932G (36%)
      :osssssss/        osssso+++.     CPU: Intel Core i7-9750H @ 12x 4.5GHz [42.0°C]
     /ossssssss/        +ssssooo/-     GPU: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
   `/ossssso+/:-        -:/+osssso+-   RAM: 5622MiB / 31818MiB
  `+sso+:-`                 `.-/+oso: 
 `++:.                           `-/+/
 .`                                 `/

Node version: v15.11.0
NPM version: 7.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions