Add one-line command options for all scripts
Added comprehensive one-line installation options for all scripts: Quick One-Liners Section (top of README): - SuperCharge installer one-liner - Claude Code + Z.AI installer one-liner - Manual instructions one-liner Detailed Installation Guide: - SuperCharge Installer with all options - Claude Code + Z.AI Installer with all options - All scripts support argument passing via bash -s -- Available Scripts Reference: - supercharge.sh: Main installer with --skip-deps, --dev-mode - install-claude-code.sh: Claude Code + Z.AI with --auto, --manual, --skip-install Total: 16 one-liner command examples Features: - curl | bash for direct execution - bash -s -- for argument passing - All script options documented - Clear tables showing options and descriptions
This commit is contained in:
122
README.md
122
README.md
@@ -8,6 +8,19 @@
|
|||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
[](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade)
|
[](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade)
|
||||||
|
|
||||||
|
## ⚡ Quick One-Liners
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 🎯 SuperCharge Claude Code (all customizations)
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash
|
||||||
|
|
||||||
|
# 🔧 Install Claude Code + Z.AI API
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash
|
||||||
|
|
||||||
|
# 📖 Show manual instructions (no installation)
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --manual
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## ⚡ Why SuperCharge Claude Code?
|
## ⚡ Why SuperCharge Claude Code?
|
||||||
@@ -76,16 +89,25 @@ This comprehensive customization package transforms your Claude Code installatio
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🚀 Quick Start (2 Minutes)
|
## 📖 Detailed Installation Guide
|
||||||
|
|
||||||
### One-Line Installation
|
### 🎯 SuperCharge Installer (Main Script)
|
||||||
|
|
||||||
|
#### One-Line Installation
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
### Manual Installation
|
#### One-Line with Options
|
||||||
|
```bash
|
||||||
|
# Skip dependency installation
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash -s -- --skip-deps
|
||||||
|
|
||||||
|
# Development mode (verbose output)
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash -s -- --dev-mode
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Manual Installation
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
|
git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
|
||||||
@@ -93,21 +115,94 @@ cd SuperCharged-Claude-Code-Upgrade
|
|||||||
|
|
||||||
# Run the supercharge installer
|
# Run the supercharge installer
|
||||||
./supercharge.sh
|
./supercharge.sh
|
||||||
|
|
||||||
|
# With options
|
||||||
|
./supercharge.sh --skip-deps
|
||||||
|
./supercharge.sh --dev-mode
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installation Options
|
### 🔧 Claude Code + Z.AI Installer (Optional)
|
||||||
|
|
||||||
|
#### One-Line Installation
|
||||||
```bash
|
```bash
|
||||||
# Skip dependency installation
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash
|
||||||
./supercharge.sh --skip-deps
|
```
|
||||||
|
|
||||||
# Development mode (verbose output)
|
#### One-Line with Options
|
||||||
./supercharge.sh --dev-mode
|
```bash
|
||||||
|
# Automatic installation (prompts for API key)
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --auto
|
||||||
|
|
||||||
|
# Manual instructions only (no installation)
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --manual
|
||||||
|
|
||||||
|
# Configure API only (skip Claude Code installation)
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --skip-install
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Manual Installation
|
||||||
|
```bash
|
||||||
|
# Clone the repository
|
||||||
|
git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
|
||||||
|
cd SuperCharged-Claude-Code-Upgrade
|
||||||
|
|
||||||
|
# Run the Claude Code installer
|
||||||
|
./install-claude-code.sh --auto
|
||||||
|
|
||||||
|
# Other options
|
||||||
|
./install-claude-code.sh --manual # Show instructions only
|
||||||
|
./install-claude-code.sh --skip-install # Configure API only
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🔧 Claude Code Installation (Optional)
|
## 📋 Available Scripts & Options
|
||||||
|
|
||||||
|
### supercharge.sh - Main SuperCharge Installer
|
||||||
|
Transforms existing Claude Code with all customizations.
|
||||||
|
|
||||||
|
| Option | Description |
|
||||||
|
|--------|-------------|
|
||||||
|
| (default) | Interactive installation with all prompts |
|
||||||
|
| `--skip-deps` | Skip dependency installation checks |
|
||||||
|
| `--dev-mode` | Enable verbose output for debugging |
|
||||||
|
|
||||||
|
**One-liners:**
|
||||||
|
```bash
|
||||||
|
# Full installation
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash
|
||||||
|
|
||||||
|
# Skip dependencies
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash -s -- --skip-deps
|
||||||
|
|
||||||
|
# Verbose mode
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash -s -- --dev-mode
|
||||||
|
```
|
||||||
|
|
||||||
|
### install-claude-code.sh - Claude Code + Z.AI Installer
|
||||||
|
Installs Claude Code and configures Z.AI GLM models.
|
||||||
|
|
||||||
|
| Option | Description |
|
||||||
|
|--------|-------------|
|
||||||
|
| `--auto` (default) | Automated installation with API key prompt |
|
||||||
|
| `--manual` | Show manual installation steps only |
|
||||||
|
| `--skip-install` | Skip Claude Code install, configure API only |
|
||||||
|
|
||||||
|
**One-liners:**
|
||||||
|
```bash
|
||||||
|
# Auto install with API prompt
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash
|
||||||
|
|
||||||
|
# Show manual instructions
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --manual
|
||||||
|
|
||||||
|
# Configure API only
|
||||||
|
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --skip-install
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🔧 Claude Code Installation Details
|
||||||
|
|
||||||
If you don't have Claude Code installed yet, we've got you covered with **Z.AI API support**.
|
If you don't have Claude Code installed yet, we've got you covered with **Z.AI API support**.
|
||||||
|
|
||||||
@@ -121,15 +216,6 @@ If you don't have Claude Code installed yet, we've got you covered with **Z.AI A
|
|||||||
> [!TIP]
|
> [!TIP]
|
||||||
> **🎁 Grab 10% OFF Token for z.ai coding plan**: [https://z.ai/subscribe?ic=R0K78RJKNW](https://z.ai/subscribe?ic=R0K78RJKNW)
|
> **🎁 Grab 10% OFF Token for z.ai coding plan**: [https://z.ai/subscribe?ic=R0K78RJKNW](https://z.ai/subscribe?ic=R0K78RJKNW)
|
||||||
|
|
||||||
### Automated Claude Code + Z.AI Installation
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Install Claude Code with Z.AI API (prompts for API key)
|
|
||||||
./install-claude-code.sh --auto
|
|
||||||
|
|
||||||
# Get your API key from: https://docs.z.ai/devpack/tool/claude
|
|
||||||
```
|
|
||||||
|
|
||||||
### Manual Claude Code Installation
|
### Manual Claude Code Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user