Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs_src/commands/help/tutorial006.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ def create(username: str):
@app.command()
def delete(username: str):
"""
[red]Delete[/red] a user. :fire:
[red]Delete[/red] a user. :x:
"""
print(f"Deleting user: {username}")


@app.command(rich_help_panel="Utils and Configs")
def config(configuration: str):
"""
[blue]Configure[/blue] the system. :wrench:
[blue]Configure[/blue] the system. :gear:
"""
print(f"Configuring the system with: {configuration}")

Expand All @@ -46,7 +46,7 @@ def help():
@app.command(rich_help_panel="Help and Others")
def report():
"""
[yellow]Report[/yellow] an issue. :bug:
[yellow]Report[/yellow] an issue. :exclamation:
"""
print("Please open a new issue online, not a direct message")

Expand Down
2 changes: 1 addition & 1 deletion docs_src/commands/help/tutorial007.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create(
@app.command(rich_help_panel="Utils and Configs")
def config(configuration: str):
"""
[blue]Configure[/blue] the system. :wrench:
[blue]Configure[/blue] the system. :gear:
"""
print(f"Configuring the system with: {configuration}")

Expand Down
2 changes: 1 addition & 1 deletion docs_src/commands/help/tutorial007_an.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def create(
@app.command(rich_help_panel="Utils and Configs")
def config(configuration: str):
"""
[blue]Configure[/blue] the system. :wrench:
[blue]Configure[/blue] the system. :gear:
"""
print(f"Configuring the system with: {configuration}")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ def test_main_help():
assert "create" in result.output
assert "Create a new user. ✨" in result.output
assert "delete" in result.output
assert "Delete a user. 🔥" in result.output
assert "Delete a user. " in result.output
assert "Utils and Configs" in result.output
assert "config" in result.output
assert "Configure the system. 🔧" in result.output
assert "Configure the system. " in result.output
assert "Synchronize the system or something fancy like that. ♻" in result.output
assert "Help and Others" in result.output
assert "Get help with the system. ❓" in result.output
assert "Report an issue. 🐛" in result.output
assert "Report an issue. " in result.output


def test_call():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_main_help():
assert "Create a new user. ✨" in result.output
assert "Utils and Configs" in result.output
assert "config" in result.output
assert "Configure the system. 🔧" in result.output
assert "Configure the system. " in result.output


def test_create_help():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_main_help():
assert "Create a new user. ✨" in result.output
assert "Utils and Configs" in result.output
assert "config" in result.output
assert "Configure the system. 🔧" in result.output
assert "Configure the system. " in result.output


def test_create_help():
Expand Down
Loading