mirror of
https://github.com/codex-storage/get-codex.git
synced 2025-02-22 14:08:09 +00:00
Adjust shell scripts help output (#13)
This commit is contained in:
parent
47e480bfb8
commit
2765517999
13
generate.sh
13
generate.sh
@ -14,14 +14,15 @@ FAIL_MARK="\033[0;31m\u2718\033[0m"
|
||||
|
||||
# Help
|
||||
if [[ $1 == *"h"* ]] ; then
|
||||
SCRIPT_URL="https://get.codex.storage/generate.sh"
|
||||
COMMAND="curl -s https://get.codex.storage/generate.sh"
|
||||
echo -e "
|
||||
\e[33mGenerate private key for Ethereum wallet\e[0m\n
|
||||
\e[33mUsage:\e[0m
|
||||
curl "${SCRIPT_URL}" | bash
|
||||
curl "${SCRIPT_URL}" | bash
|
||||
curl "${SCRIPT_URL}" | MODE=local bash
|
||||
curl "${SCRIPT_URL}" | URL=https://key.codex.storage bash
|
||||
curl "${SCRIPT_URL}" | bash -s help
|
||||
${COMMAND} | bash
|
||||
${COMMAND} | bash
|
||||
${COMMAND} | MODE=local bash
|
||||
${COMMAND} | URL=https://key.codex.storage bash
|
||||
${COMMAND} | bash -s help
|
||||
|
||||
\e[33mOptions:\e[0m
|
||||
- help - Show help message
|
||||
|
11
install.sh
11
install.sh
@ -22,13 +22,14 @@ FAIL_MARK="\033[0;31m\u2718\033[0m"
|
||||
|
||||
# Help
|
||||
if [[ $1 == *"h"* ]] ; then
|
||||
SCRIPT_URL="https://get.codex.storage/install.sh"
|
||||
COMMAND="curl -s https://get.codex.storage/install.sh"
|
||||
echo -e "
|
||||
\e[33mInstall Codex\e[0m\n
|
||||
\e[33mUsage:\e[0m
|
||||
curl "${SCRIPT_URL}" | bash
|
||||
curl "${SCRIPT_URL}" | VERSION=0.1.7 bash
|
||||
curl "${SCRIPT_URL}" | VERSION=0.1.7 INSTALL_CIRDL=true bash
|
||||
curl "${SCRIPT_URL}" | bash -s help
|
||||
${COMMAND} | bash
|
||||
${COMMAND} | VERSION=0.1.7 bash
|
||||
${COMMAND} | VERSION=0.1.7 INSTALL_CIRDL=true bash
|
||||
${COMMAND} | bash -s help
|
||||
|
||||
\e[33mOptions:\e[0m
|
||||
- help - show this help
|
||||
|
Loading…
x
Reference in New Issue
Block a user