Skip to content

Commit

Permalink
- Updated error message with valid command.
Browse files Browse the repository at this point in the history
issue #?
  • Loading branch information
albamig committed Feb 16, 2022
1 parent 2bbc500 commit 4d5deee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion minos/cli/api/new.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def new_microservice(name: str) -> None:
try:
microservice_path = get_microservices_directory(Path.cwd()) / name
except ValueError:
console.print("No Minos project found. Consider 'minos project init'")
console.print("No Minos project found. Consider using 'minos new project'")
raise typer.Exit(code=1)

fetcher = TemplateFetcher.from_name("microservice-init")
Expand Down
2 changes: 1 addition & 1 deletion minos/cli/api/set.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def set_service(service: str, backend: str) -> None:
try:
project_path = get_project_target_directory(Path.cwd())
except ValueError:
console.print("No Minos project found. Consider 'minos project init'")
console.print("No Minos project found. Consider 'minos new project'")
raise typer.Exit(code=1)

config_path = project_path / ".minos-project.yaml"
Expand Down

0 comments on commit 4d5deee

Please sign in to comment.