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

Clean up console printing when installing fuelup and include links to docs #527

Open
JoshuaBatty opened this issue Nov 28, 2023 · 0 comments
Assignees
Labels

Comments

@JoshuaBatty
Copy link
Member

Currently, fuelup is very verbose with what it prints to the console during installation. We should look at moving some of this information to the new log file in #522.

Adding component fuel-core v0.20.5 to 'latest-aarch64-apple-darwin'
Fetching binary from https://github.com/FuelLabs/fuel-core/releases/download/v0.20.5/fuel-core-0.20.5-aarch64-apple-darwin.tar.gz
Unpacking and moving fuel-core-keygen to /.fuelup/store/fuel-core-0.20.5
Unpacking and moving fuel-core to /.fuelup/store/fuel-core-0.20.5
Installed fuel-core v0.20.5 for toolchain 'latest-aarch64-apple-darwin'

Adding component fuel-core-keygen v0.20.5 to 'latest-aarch64-apple-darwin'
Fetching binary from https://github.com/FuelLabs/fuel-core/releases/download/v0.20.5/fuel-core-0.20.5-aarch64-apple-darwin.tar.gz
Unpacking and moving fuel-core-keygen to /.fuelup/store/fuel-core-keygen-0.20.5
Unpacking and moving fuel-core to /.fuelup/store/fuel-core-keygen-0.20.5
Installed fuel-core-keygen v0.20.5 for toolchain 'latest-aarch64-apple-darwin'

Adding component fuel-indexer v0.23.0 to 'latest-aarch64-apple-darwin'
Fetching binary from https://github.com/FuelLabs/fuel-indexer/releases/download/v0.23.0/fuel-indexer-0.23.0-aarch64-apple-darwin.tar.gz
Unpacking and moving fuel-indexer to /.fuelup/store/fuel-indexer-0.23.0
Installed fuel-indexer v0.23.0 for toolchain 'latest-aarch64-apple-darwin'

Installed:
- forc 0.46.1
- forc-explore 0.28.1
- forc-index 0.23.0
- forc-wallet 0.3.0
- fuel-core 0.20.5
- fuel-core-keygen 0.20.5
- fuel-indexer 0.23.0


The Fuel toolchain is installed and up to date

fuelup 0.20.0 has been installed in /.fuelup/bin. To fetch the latest toolchain containing the forc and fuel-core binaries, run 'fuelup toolchain install latest'. To generate completions for your shell, run 'fuelup completions --shell=SHELL'.

/.fuelup/bin already exists in your PATH.

Also, it would be nice to print some links to the documentation after installation is finished. Here is the output of foundry for reference.

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx
 
 ╔═╗ ╔═╗ ╦ ╦ ╔╗╔ ╔╦╗ ╦═╗ ╦ ╦         Portable and modular toolkit
 ╠╣  ║ ║ ║ ║ ║║║  ║║ ╠╦╝ ╚╦╝    for Ethereum Application Development 
 ╚   ╚═╝ ╚═╝ ╝╚╝ ═╩╝ ╩╚═  ╩                 written in Rust.

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

Repo       : https://github.com/foundry-rs/
Book       : https://book.getfoundry.sh/                      
Chat       : https://t.me/foundry_rs/                         
Support    : https://t.me/foundry_support/
Contribute : https://github.com/orgs/foundry-rs/projects/2/

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

foundryup: installing foundry (version nightly, tag nightly)
foundryup: downloading latest forge, cast, anvil, and chisel
############################################################################################## 100.0%
foundryup: downloading manpages
############################################################################################## 100.0%
foundryup: installed - forge 0.2.0 (23aa303 2023-11-28T00:22:05.474570281Z)
foundryup: installed - cast 0.2.0 (23aa303 2023-11-28T00:22:05.463905725Z)
foundryup: installed - anvil 0.2.0 (23aa303 2023-11-28T00:22:05.476902797Z)
foundryup: installed - chisel 0.2.0 (23aa303 2023-11-28T00:22:05.470103422Z)
foundryup: done!
@JoshuaBatty JoshuaBatty changed the title Clean up console printing when installing fuelup Clean up console printing when installing fuelup and include links to docs Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants