Skip to content

Commit 5cb2169

Browse files
authored
feat: adds autocomplete support to preset save (#40)
Adds auto complete support to the preset save command and adds preset support to the run command. Also removes unused values from the config commands and wire them up correctly.
1 parent 853c7fe commit 5cb2169

41 files changed

Lines changed: 563 additions & 425 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -206,22 +206,15 @@ All commands support `--format json` for piping into `jq` or scripts.
206206
api_key: your-api-key
207207

208208
defaults:
209-
model: runware:100@1
210-
width: 1024
211-
height: 1024
212-
steps: 28
213-
cfg_scale: 3.5
214-
scheduler: euler
215-
output_dir: ./outputs
216-
output_format: png
217-
format: table
218-
209+
output_dir: ./outputs
210+
format: table
219211
presets:
220-
quick:
221-
model: runware:100@1
222-
width: 512
223-
height: 512
224-
steps: 4
212+
quick:
213+
model: runware:100@1
214+
params:
215+
height: "512"
216+
steps: "10"
217+
width: "512"
225218
```
226219
227220
## Development

‎docs/runware.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Generate images, search models, manage your account, and more.
1111

1212
```
1313
--debug Show full debug output
14-
-F, --format string CLI output format: table, json, yaml
14+
-F, --format string CLI output format: table, json, yaml (default "table")
1515
-h, --help help for runware
1616
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
1717
-v, --verbose Show request/response details

‎docs/runware_account.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Account information, team, and API keys
1919

2020
```
2121
--debug Show full debug output
22-
-F, --format string CLI output format: table, json, yaml
22+
-F, --format string CLI output format: table, json, yaml (default "table")
2323
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
2424
-v, --verbose Show request/response details
2525
```

‎docs/runware_account_details.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runware account details [flags]
2323

2424
```
2525
--debug Show full debug output
26-
-F, --format string CLI output format: table, json, yaml
26+
-F, --format string CLI output format: table, json, yaml (default "table")
2727
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
2828
-v, --verbose Show request/response details
2929
```

‎docs/runware_auth.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Login, logout, and check authentication status.
1616

1717
```
1818
--debug Show full debug output
19-
-F, --format string CLI output format: table, json, yaml
19+
-F, --format string CLI output format: table, json, yaml (default "table")
2020
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
2121
-v, --verbose Show request/response details
2222
```

‎docs/runware_auth_login.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runware auth login [flags]
2727

2828
```
2929
--debug Show full debug output
30-
-F, --format string CLI output format: table, json, yaml
30+
-F, --format string CLI output format: table, json, yaml (default "table")
3131
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
3232
-v, --verbose Show request/response details
3333
```

‎docs/runware_auth_logout.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runware auth logout [flags]
2323

2424
```
2525
--debug Show full debug output
26-
-F, --format string CLI output format: table, json, yaml
26+
-F, --format string CLI output format: table, json, yaml (default "table")
2727
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
2828
-v, --verbose Show request/response details
2929
```

‎docs/runware_auth_status.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runware auth status [flags]
2323

2424
```
2525
--debug Show full debug output
26-
-F, --format string CLI output format: table, json, yaml
26+
-F, --format string CLI output format: table, json, yaml (default "table")
2727
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
2828
-v, --verbose Show request/response details
2929
```

‎docs/runware_completion.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ runware completion [bash|zsh|fish|powershell] [flags]
5252

5353
```
5454
--debug Show full debug output
55-
-F, --format string CLI output format: table, json, yaml
55+
-F, --format string CLI output format: table, json, yaml (default "table")
5656
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
5757
-v, --verbose Show request/response details
5858
```

‎docs/runware_config.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Manage CLI configuration
1212

1313
```
1414
--debug Show full debug output
15-
-F, --format string CLI output format: table, json, yaml
15+
-F, --format string CLI output format: table, json, yaml (default "table")
1616
--transport string Transport protocol: ws (WebSocket) or http (REST) (default "ws")
1717
-v, --verbose Show request/response details
1818
```
@@ -21,7 +21,7 @@ Manage CLI configuration
2121

2222
* [runware](runware.md) - CLI tool for the Runware inference API
2323
* [runware config path](runware_config_path.md) - Print config file path
24-
* [runware config reset](runware_config_reset.md) - Reset configuration to defaults
24+
* [runware config reset](runware_config_reset.md) - Reset configuration defaults
2525
* [runware config set](runware_config_set.md) - Set a config value
2626
* [runware config show](runware_config_show.md) - Print current configuration
2727

0 commit comments

Comments
 (0)