We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63f6904 commit e3e636fCopy full SHA for e3e636f
src/warnet/project.py
@@ -24,6 +24,7 @@
24
KUBECTL_BLESSED_NAME_AND_CHECKSUMS,
25
KUBECTL_BLESSED_VERSION,
26
KUBECTL_DOWNLOAD_URL_STUB,
27
+ WARNET_USER_DIR_ENV_VAR,
28
)
29
from .graph import inquirer_create_network
30
from .network import copy_network_defaults, copy_plugins_defaults, copy_scenario_defaults
@@ -439,6 +440,11 @@ def new_internal(directory: Path, from_init=False):
439
440
click.echo("\nWhen you're ready, run the following command to deploy this network:")
441
click.echo(f" warnet deploy {custom_network_path}")
442
443
+ click.secho(
444
+ "Consider setting an environment variable to make it easier to access your user directory:"
445
+ )
446
+ click.secho(f"export {WARNET_USER_DIR_ENV_VAR}={directory}", fg="yellow")
447
+
448
449
@click.command()
450
def init():
0 commit comments