Skip to content

Commit bf5428e

Browse files
fix(ssg): ✅ minor tweaks
1 parent 88c9d28 commit bf5428e

File tree

3 files changed

+34
-36
lines changed

3 files changed

+34
-36
lines changed

Cargo.lock

+31-31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ Create a new site:
9292

9393
```bash
9494
# Full command syntax
95-
ssg --content=content --template=templates --output=output --serve=public
95+
ssg --content=content --template=templates --serve=public
9696

9797
# Short form
9898
ssg -c=content -t=templates -o=output -s=public
9999

100100
# Using cargo run
101-
cargo run --bin ssg -- -c="./examples/content" -t="./examples/templates" -o="./examples/output" -s="./examples/public"
101+
cargo run --bin ssg -- -c="./examples/content" -t="./examples/templates" -s="./examples/public"
102102
```
103103

104104
### CLI Options
@@ -107,7 +107,6 @@ cargo run --bin ssg -- -c="./examples/content" -t="./examples/templates" -o="./e
107107
|--------|-------|-------------|----------|
108108
| `--content` | `-c` | Content path | Yes |
109109
| `--template` | `-t` | Template path | Yes |
110-
| `--output` | `-o` | Output path | Yes |
111110
| `--serve` | `-s` | Server Public path | Yes |
112111

113112
## Examples 📚

src/cmd.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ impl ShokuninConfig {
221221

222222
// If `--watch` was used
223223
if matches.get_flag("watch") {
224-
// do something like self.enable_watch = true; if you have that
225-
// or just log, e.g. debug!("Watch mode enabled")
224+
// TODO: Implement watch mode
226225
}
227226

228227
// Re-validate after overriding

0 commit comments

Comments
 (0)