Browse Source

Make ls and ls-remote aliases visible (#327)

remotes/origin/add-with-shims
Gal Schlezinger 4 years ago committed by GitHub
parent
commit
041e3c9b3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/cli.rs

4
src/cli.rs

@ -6,11 +6,11 @@ use structopt::StructOpt; @@ -6,11 +6,11 @@ use structopt::StructOpt;
#[derive(StructOpt, Debug)]
pub enum SubCommand {
/// List all remote Node.js versions
#[structopt(name = "list-remote", aliases = &["ls-remote"])]
#[structopt(name = "list-remote", visible_aliases = &["ls-remote"])]
LsRemote(commands::ls_remote::LsRemote),
/// List all locally installed Node.js versions
#[structopt(name = "list", aliases = &["ls"])]
#[structopt(name = "list", visible_aliases = &["ls"])]
LsLocal(commands::ls_local::LsLocal),
/// Install a new Node.js version

Loading…
Cancel
Save