third_party.pigweed.src/pw_cli
Alexei Frolov a137f970fa pw_env_setup: Improve POSIX CLI output
This change updates the output of the bootstrap and env_setup scripts to
make it more detailed and prettier.

The POSIX-side improvements are handled here; Windows will come in a
follow-up change.

Example output:

  WELCOME TO...

 ▒█████▄   █▓  ▄███▒  ▒█    ▒█ ░▓████▒ ░▓████▒ ▒▓████▄
  ▒█░  █░ ░█▒ ██▒ ▀█▒ ▒█░ █ ▒█  ▒█   ▀  ▒█   ▀  ▒█  ▀█▌
  ▒█▄▄▄█░ ░█▒ █▓░ ▄▄░ ▒█░ █ ▒█  ▒███    ▒███    ░█   █▌
  ▒█▀     ░█░ ▓█   █▓ ░█░ █ ▒█  ▒█   ▄  ▒█   ▄  ░█  ▄█▌
  ▒█      ░█░ ░▓███▀   ▒█▓▀▓█░ ░▓████▒ ░▓████▒ ▒▓████▀

  BOOTSTRAP! Bootstrap may take a few minutes; please be patient.

Downloading and installing packages into local source directory:

  Setting up CIPD package manager...done
  Setting up Python environment.....done
  Setting up Pigweed host tools.....done
  Setting up Rust's cargo...........done

Activating environment (setting environment variables):

  Setting environment variables for CIPD package manager...done
  Setting environment variables for Python environment.....done
  Setting environment variables for Pigweed host tools.....done
  Setting environment variables for Rust's cargo...........skipped
    Note: Re-run bootstrap with PW_CARGO_SETUP=1 set in your environment
          to enable Rust.

Sanity checking the environment:

20200306 12:48:12 ℹ️  Pigweed environment passes all checks!

Environment looks good; you are ready to go!

To activate this environment in the future, run this in your terminal:

  . pw_env_setup/env_setup.sh

Bug: 143
Change-Id: If91457888cecfa117d5b8907c82c396413c640e8
2020-03-07 00:15:37 +00:00
..
py pw_env_setup: Improve POSIX CLI output 2020-03-07 00:15:37 +00:00
README.md Rename pw_cmd to pw_cli 2019-11-25 22:16:02 +00:00

This directory contains the pw tool that facilitates working with Pigweed. Example starting functionality is the ability to watch the Pigweed source for changes and re-run tests.

This code is experimental and unfinished.