Skip to content

Commit 5420cfe

Browse files
authored
Merge pull request #30 from nick-galluzzo/refactor/cli-option-values-separation
refactor: separate display text from internal values in CLI options
2 parents 9c92a44 + c680f33 commit 5420cfe

File tree

3 files changed

+4
-32
lines changed

3 files changed

+4
-32
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "notebookllama"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
description = "An OSS and LlamaCloud-backed alternative to NotebookLM"
55
readme = "README.md"
66
requires-python = ">=3.13"

tools/cli/screens/initial.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ def get_form_elements(self) -> list:
1414
return [
1515
Select(
1616
options=[
17-
("With Default Settings", "With Default Settings"),
18-
("With Custom Settings", "With Custom Settings"),
17+
("With Default Settings", "default_settings"),
18+
("With Custom Settings", "custom_settings"),
1919
],
2020
prompt="Please select one of the following",
2121
id="setup_type",
@@ -38,7 +38,7 @@ def handle_next(self) -> None:
3838

3939
app = self.app
4040
if isinstance(app, EmbeddingSetupApp):
41-
if app.config.setup_type == "With Default Settings":
41+
if app.config.setup_type == "default_settings":
4242
app.handle_default_setup()
4343
else:
4444
app.push_screen(ProviderSelectScreen())

tools/cli/utils.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)