Skip to content

Commit 4d5deee

Browse files
committed
- Updated error message with valid command.
issue #?
1 parent 2bbc500 commit 4d5deee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

minos/cli/api/new.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def new_microservice(name: str) -> None:
3838
try:
3939
microservice_path = get_microservices_directory(Path.cwd()) / name
4040
except ValueError:
41-
console.print("No Minos project found. Consider 'minos project init'")
41+
console.print("No Minos project found. Consider using 'minos new project'")
4242
raise typer.Exit(code=1)
4343

4444
fetcher = TemplateFetcher.from_name("microservice-init")

minos/cli/api/set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def set_service(service: str, backend: str) -> None:
4949
try:
5050
project_path = get_project_target_directory(Path.cwd())
5151
except ValueError:
52-
console.print("No Minos project found. Consider 'minos project init'")
52+
console.print("No Minos project found. Consider 'minos new project'")
5353
raise typer.Exit(code=1)
5454

5555
config_path = project_path / ".minos-project.yaml"

0 commit comments

Comments
 (0)