Skip to content

Commit 0b35749

Browse files
committed
new version online
1 parent 47a58fb commit 0b35749

7 files changed

Lines changed: 24 additions & 24 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust_tui_coder"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
edition = "2021"
55
description = "AI-powered terminal coding assistant with interactive TUI, supporting multiple LLMs and comprehensive development tools"
66
license = "MIT OR Apache-2.0"
@@ -21,7 +21,7 @@ exclude = [
2121
]
2222

2323
[[bin]]
24-
name = "rust_tui_coder"
24+
name = "rct"
2525
path = "src/main.rs"
2626

2727
[dependencies]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ model_name = "gpt-4"
5050
### Run
5151

5252
```bash
53-
rust_tui_coder
53+
rct
5454
```
5555

5656
---

docs/GETTING_STARTED.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cd rust_tui_coder
3030
# Build the project
3131
cargo build --release
3232

33-
# The binary will be at target/release/rust_tui_coder
33+
# The binary will be at target/release/rct
3434
```
3535

3636
## Configuration
@@ -100,13 +100,13 @@ export LLM_MODEL_NAME="gpt-4"
100100
### Launch the Application
101101

102102
```bash
103-
rust_tui_coder
103+
rct
104104
```
105105

106106
Or if built from source:
107107

108108
```bash
109-
./target/release/rust_tui_coder
109+
./target/release/rct
110110
```
111111

112112
### Initial Screen
@@ -382,7 +382,7 @@ The app operates in the directory where you launch it. To work on a specific pro
382382

383383
```bash
384384
cd /path/to/your/project
385-
rust_tui_coder
385+
rct
386386
```
387387

388388
### Multiple Projects
@@ -391,7 +391,7 @@ Create a `config.toml` in each project directory, or use environment variables:
391391

392392
```bash
393393
cd project1
394-
LLM_MODEL_NAME="gpt-3.5-turbo" rust_tui_coder
394+
LLM_MODEL_NAME="gpt-3.5-turbo" rct
395395
```
396396

397397
## Next Steps

docs/PUBLISH.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ Users will be able to install the binary using:
4848
cargo install rust_tui_coder
4949
```
5050

51-
This will install the `rust_tui_coder` binary to `~/.cargo/bin/` (which should be in PATH).
51+
This will install the `rct` binary to `~/.cargo/bin/` (which should be in PATH).
5252

5353
## Usage After Installation
5454

5555
After installation, users can run:
5656

5757
```bash
58-
rust_tui_coder
58+
rct
5959
```
6060

6161
The application will look for a `config.toml` file in the current directory.
@@ -117,7 +117,7 @@ The following are excluded from the published package (see `Cargo.toml`):
117117

118118
1. **Configuration Required**: Users need to create a `config.toml` file with their LLM API credentials
119119
2. **First Run**: Include instructions in README for first-time setup
120-
3. **Binary Name**: The binary is named `rust_tui_coder` and can be renamed after installation if desired
120+
3. **Binary Name**: The binary is named `rct` and can be renamed after installation if desired
121121
4. **Dependencies**: All dependencies are properly specified in Cargo.toml
122122
5. **Platform Support**: Works on Linux, macOS, and Windows (tested on Linux)
123123

docs/README_FULL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ cargo install rust_tui_coder
6666
git clone https://github.com/Ammar-Alnagar/Rust-Coder-CLI.git
6767
cd Rust-Coder-CLI
6868
cargo build --release
69-
./target/release/rust_tui_coder
69+
./target/release/rct
7070
```
7171

7272
## Configuration
@@ -105,7 +105,7 @@ safe_fs = true
105105
### Starting the Application
106106

107107
```bash
108-
rust_tui_coder
108+
rct
109109
```
110110

111111
### Basic Commands
@@ -263,7 +263,7 @@ See [EXAMPLES.md](EXAMPLES.md) for 30+ detailed usage examples including:
263263
**Config not found**
264264
```bash
265265
# Create default config
266-
rust_tui_coder
266+
rct
267267
# Follow the prompts to create config.toml
268268
```
269269

docs/TROUBLESHOOTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ This guide helps you diagnose and fix common issues with Rust TUI Coder.
6868
git clone https://github.com/yourusername/rust_tui_coder.git
6969
cd rust_tui_coder
7070
cargo build --release
71-
./target/release/rust_tui_coder
71+
./target/release/rct
7272
```
7373

7474
---
@@ -250,7 +250,7 @@ curl -I https://api.openai.com/v1/models
250250
4. **Use proxy (if needed)**
251251
```bash
252252
export HTTPS_PROXY=http://proxy.company.com:8080
253-
rust_tui_coder
253+
rct
254254
```
255255
256256
---
@@ -426,7 +426,7 @@ pwd
426426
1. **Set TERM variable**
427427
```bash
428428
export TERM=xterm-256color
429-
rust_tui_coder
429+
rct
430430
```
431431
432432
2. **Use compatible terminal**
@@ -573,7 +573,7 @@ top | grep rust_tui_coder
573573
2. **Check logs**
574574
```bash
575575
# Run with backtrace
576-
RUST_BACKTRACE=1 rust_tui_coder
576+
RUST_BACKTRACE=1 rct
577577
```
578578
579579
3. **Report bug**
@@ -667,10 +667,10 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
667667
668668
```bash
669669
# Run with verbose output
670-
RUST_LOG=debug rust_tui_coder
670+
RUST_LOG=debug rct
671671
672672
# Or with backtrace
673-
RUST_BACKTRACE=full rust_tui_coder
673+
RUST_BACKTRACE=full rct
674674
```
675675
676676
### Test API Connection Manually
@@ -699,8 +699,8 @@ curl https://api.anthropic.com/v1/messages \
699699
cargo install --list | grep rust_tui_coder
700700
701701
# Verify binary
702-
which rust_tui_coder
703-
rust_tui_coder --version # If version flag is implemented
702+
which rct
703+
rct --version # If version flag is implemented
704704
```
705705
706706
---
@@ -743,7 +743,7 @@ If you're still experiencing issues:
743743
**Solution:** Application runs in the directory where you launch it
744744
```bash
745745
cd /path/to/your/project
746-
rust_tui_coder
746+
rct
747747
```
748748
749749
---

0 commit comments

Comments
 (0)