Skip to content

Commit 3982251

Browse files
committed
Extra output when user selects "n" for custom network on init/new
Errant "\"
1 parent fa576ce commit 3982251

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/warnet/project.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,10 @@ def new_internal(directory: Path, from_init=False):
431431
if proj_answers["custom_network"]:
432432
click.secho("\nGenerating custom network...", fg="yellow", bold=True)
433433
custom_network_path = inquirer_create_network(directory)
434+
else:
435+
click.echo(f"No custom network specified, see example network files in {project_path}/networks/")
436+
click.echo(f"\nDeploy any of these networks by running:")
437+
click.echo(f" warnet deploy {project_path}/networks/<example-network-name>")
434438

435439
if custom_network_path:
436440
click.echo(

0 commit comments

Comments
 (0)