mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
Add custom installation directory support (#4)
- Add --dir argument for custom installation path - Add confirmation prompt showing target directory - Add help text with usage examples and --help flag - Update all file operations to use custom directory - Convert relative paths to absolute paths - Fix backup prompt to only show when directory has files - Add informational message for empty directories - Update README.md with installation options and examples - Maintain backward compatibility with default ~/.claude 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
10
README.md
10
README.md
@@ -28,10 +28,13 @@ Think of it as a brain upgrade for Claude Code. Drop it in once, and suddenly Cl
|
||||
```bash
|
||||
git clone https://github.com/NomenAK/SuperClaude.git
|
||||
cd SuperClaude
|
||||
./install.sh
|
||||
./install.sh # Default: ~/.claude/
|
||||
# OR
|
||||
./install.sh --dir /opt/claude # Custom location
|
||||
./install.sh --dir ./project-claude # Project-specific
|
||||
```
|
||||
|
||||
That's it. No databases, no services, no dependencies. It quietly installs to `~/.claude/` and works in every project. The installer even backs up your existing config automatically!
|
||||
That's it. No databases, no services, no dependencies. Installs to `~/.claude/` by default or any directory you choose. The installer even backs up your existing config automatically!
|
||||
|
||||
## 💡 Why You'll Love It
|
||||
|
||||
@@ -212,6 +215,7 @@ Skip if you:
|
||||
1. **Install**
|
||||
```bash
|
||||
git clone https://github.com/NomenAK/SuperClaude.git && cd SuperClaude && ./install.sh
|
||||
# Or custom location: ./install.sh --dir /your/path
|
||||
```
|
||||
|
||||
2. **Test Drive**
|
||||
@@ -227,7 +231,7 @@ Skip if you:
|
||||
|
||||
## 🛟 Need Help?
|
||||
|
||||
- **Installation issues?** Run `./install.sh` again – it's idempotent
|
||||
- **Installation issues?** Run `./install.sh` again – it's idempotent. Use `./install.sh --help` for options
|
||||
- **Commands not working?** Check `ls ~/.claude/commands/`
|
||||
- **Want to contribute?** See [CONTRIBUTING.md](CONTRIBUTING.md)
|
||||
- **Found a bug?** [Open an issue](https://github.com/NomenAK/SuperClaude/issues)
|
||||
|
||||
Reference in New Issue
Block a user