Skip to content

Commit

Permalink
Display config path after adding new context to config
Browse files Browse the repository at this point in the history
Resolve BE-1996
  • Loading branch information
nickpetrovic committed Oct 30, 2024
1 parent dadcdfb commit 936a09e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "beta9"
version = "0.1.99"
version = "0.1.100"
description = ""
authors = ["beam.cloud <[email protected]>"]
packages = [
Expand Down
3 changes: 2 additions & 1 deletion sdk/src/beta9/cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def create_context(config_path: Path, **kwargs):
contexts[name] = context
save_config(contexts=contexts, path=config_path)

terminal.success("Added new context 🎉!")
rel_path = str(config_path).replace(str(Path.home()), "~")
terminal.success(f"Added new context to {rel_path}")


@management.command(
Expand Down

0 comments on commit 936a09e

Please sign in to comment.