Skip to content

Commit

Permalink
🔨 Add banner with description and links (foundry-rs#4112)
Browse files Browse the repository at this point in the history
- Monochrome banner
- No color due to unpredicatable terminal color support across os/shells
  • Loading branch information
m0ham3dx authored Jan 18, 2023
1 parent 4dc05d2 commit 23c41b1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions foundryup/foundryup
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ FOUNDRY_BIN_DIR="$FOUNDRY_DIR/bin"
FOUNDRY_MAN_DIR="$FOUNDRY_DIR/share/man/man1"

main() {
banner
need_cmd git
need_cmd curl

Expand Down Expand Up @@ -243,4 +244,29 @@ ensure() {
if ! "$@"; then err "command failed: $*"; fi
}

# Banner Function for Foundry

banner() {
printf '
.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
'
}


main "$@" || exit 1

0 comments on commit 23c41b1

Please sign in to comment.