Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement rustup CLI #136

Merged
merged 3 commits into from Mar 21, 2016
Merged

Implement rustup CLI #136

merged 3 commits into from Mar 21, 2016

Commits on Mar 20, 2016

  1. Fix the test for 'default'

    brson committed Mar 20, 2016
    Configuration menu
    Copy the full SHA
    d52b3d3 View commit details
    Browse the repository at this point in the history
  2. Upgrade to clap 2.2.1

    brson committed Mar 20, 2016
    Configuration menu
    Copy the full SHA
    c34904b View commit details
    Browse the repository at this point in the history
  3. Implement the rustup cli

    This adds the `rustup` command as described in rust-lang#129.
    
    Major changes:
    
    * A bare `rustup` updates all tracked channels and self-updates.
    * All the `--copy-local`, `--link local` and `--installer` options
      are gone. There is just `rustup channel link`, which covers the
      most common reason for creating custom toolchains.
    * `add-target`, `list-targets`, and `remove-targets` are all under
      the `target` subcommand, and all operate on the current toolchain
      instead of needing to specify it explicitly.
    * Override comands are all under the `override` subcommand.
    * Lesser commands for modifying toolchains are under the `toolchain`
      subcommand, but I decided `multirust update` and `multirust update
      nightly` were useful enough to stay its own subcommand.
    * The UI for updating all channels is changed from `multirust-rs`
      slightly: both the update status and channel revision are displayed
      in the same place.
    * I've removed green from 'info' logging and used it only for
      successful updates to make it more impactful.
    
    Note there are several ways to update now: `rustup` updates
    everything, `rustup update` updates the current toolchain, and `rustup
    update [toolchain]` updates a specific toolchain.
    brson committed Mar 20, 2016
    Configuration menu
    Copy the full SHA
    5f93275 View commit details
    Browse the repository at this point in the history