Skip to content

Commit d41a242

Browse files
committed
wip
1 parent 114d9f8 commit d41a242

File tree

11 files changed

+25
-25
lines changed

11 files changed

+25
-25
lines changed

.github/workflows/struct-generate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Install StructKit
7474
run: |
75-
pip install git+https://github.com/httpdss/struct.git
75+
pip install git+https://github.com/httpdss/structkit.git
7676
structkit -h
7777
7878
- name: Install custom structures

.github/workflows/struct-on-gha.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- name: Install StructKit
1919
run: |
20-
pip install git+https://github.com/httpdss/struct.git
20+
pip install git+https://github.com/httpdss/structkit.git
2121
structkit -h
2222
2323
- name: Run StructKit

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
```bash
3030
# Install via pip
31-
pip install git+https://github.com/httpdss/struct.git
31+
pip install git+https://github.com/httpdss/structkit.git
3232

3333
# Or run with Docker
3434
docker run -v $(pwd):/workdir ghcr.io/httpdss/struct:main generate my-config.yaml ./output

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Thank you for your interest in contributing to StructKit! We welcome contributio
2323
Clone the repository:
2424

2525
```bash
26-
git clone https://github.com/httpdss/struct.git
26+
git clone https://github.com/httpdss/structkit.git
2727
cd struct
2828
```
2929

docs/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This guide will help you set up a development environment for contributing to St
1313
### 1. Clone the Repository
1414

1515
```sh
16-
git clone https://github.com/httpdss/struct.git
16+
git clone https://github.com/httpdss/structkit.git
1717
cd struct
1818
```
1919

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags:
1010
Install StructKit with pip:
1111

1212
```sh
13-
pip install git+https://github.com/httpdss/struct.git
13+
pip install git+https://github.com/httpdss/structkit.git
1414
```
1515

1616
!!! tip "Enable Auto-Completion"

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Inside the container:
4242

4343
```sh
4444
apk add python-pip git vim
45-
pip install git+https://github.com/httpdss/struct.git
45+
pip install git+https://github.com/httpdss/structkit.git
4646
mkdir example
4747
cd example/
4848
touch structure.yaml

docs/vhs/install.tape

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Sleep 1s
2424

2525
Type "# Install StructKit from GitHub"
2626
Enter
27-
Type "pip install git+https://github.com/httpdss/struct.git"
27+
Type "pip install git+https://github.com/httpdss/structkit.git"
2828
Enter
2929
Sleep 5s
3030

site/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ <h3 class="mb-4">Install via pip</h3>
232232
<div class="code-block">
233233
<button class="copy-button">Copy</button>
234234
<pre><code># Install from GitHub
235-
pip install git+https://github.com/httpdss/struct.git
235+
pip install git+https://github.com/httpdss/structkit.git
236236

237237
# Verify installation
238-
struct --version</code></pre>
238+
structkit --version</code></pre>
239239
</div>
240240
<p class="text-secondary mt-4">
241241
Requires Python 3.8+ and pip. This is the recommended installation method for most users.
@@ -246,10 +246,10 @@ <h3 class="mb-4">Run with Docker</h3>
246246
<div class="code-block">
247247
<button class="copy-button">Copy</button>
248248
<pre><code># Pull and run with Docker
249-
docker run -v $(pwd):/workdir ghcr.io/httpdss/struct:main generate my-config.yaml ./output
249+
docker run -v $(pwd):/workdir ghcr.io/httpdss/structkit:main generate my-config.yaml ./output
250250

251251
# Create an alias for easier usage
252-
alias struct='docker run -v $(pwd):/workdir ghcr.io/httpdss/struct:main'</code></pre>
252+
alias structkit='docker run -v $(pwd):/workdir ghcr.io/httpdss/structkit:main'</code></pre>
253253
</div>
254254
<p class="text-secondary mt-4">
255255
Perfect for CI/CD environments and when you don't want to install Python locally.
@@ -260,8 +260,8 @@ <h3 class="mb-4">Install from Source</h3>
260260
<div class="code-block">
261261
<button class="copy-button">Copy</button>
262262
<pre><code># Clone the repository
263-
git clone https://github.com/httpdss/struct.git
264-
cd struct
263+
git clone https://github.com/httpdss/structkit.git
264+
cd structkit
265265

266266
# Install in development mode
267267
pip install -e .

structkit/commands/completion.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _install(self, args):
3333
print("python -m pip install shtab")
3434
print("\n# Generate static bash completion for 'struct':")
3535
print("mkdir -p ~/.local/share/bash-completion/completions")
36-
print("struct --print-completion bash > ~/.local/share/bash-completion/completions/struct")
36+
print("structkit --print-completion bash > ~/.local/share/bash-completion/completions/struct")
3737
print("\n# Apply now (or open a new shell):")
3838
print("source ~/.bashrc")
3939

@@ -42,7 +42,7 @@ def _install(self, args):
4242
print("python -m pip install shtab")
4343
print("\n# Generate static zsh completion for 'struct':")
4444
print("mkdir -p ~/.zfunc")
45-
print("struct --print-completion zsh > ~/.zfunc/_struct")
45+
print("structkit --print-completion zsh > ~/.zfunc/_struct")
4646
print("\n# Ensure zsh loads user functions/completions (append to ~/.zshrc if needed):")
4747
print('echo "fpath=(~/.zfunc $fpath)" >> ~/.zshrc')
4848
print('echo "autoload -U compinit && compinit" >> ~/.zshrc')
@@ -54,12 +54,12 @@ def _install(self, args):
5454
print("python -m pip install shtab")
5555
print("\n# Generate static fish completion for 'struct':")
5656
print('mkdir -p ~/.config/fish/completions')
57-
print('struct --print-completion fish > ~/.config/fish/completions/struct.fish')
57+
print('structkit --print-completion fish > ~/.config/fish/completions/struct.fish')
5858
print("\n# Apply now:")
5959
print("fish -c 'source ~/.config/fish/completions/struct.fish'")
6060

6161
else:
6262
self.logger.error(f"Unsupported shell: {shell}. Supported: {', '.join(SUPPORTED_SHELLS)}")
6363
return
6464

65-
print("\nTip: You can also print completion directly via: struct --print-completion <shell>")
65+
print("\nTip: You can also print completion directly via: structkit --print-completion <shell>")

0 commit comments

Comments
 (0)