File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 24
24
KUBECTL_BLESSED_NAME_AND_CHECKSUMS ,
25
25
KUBECTL_BLESSED_VERSION ,
26
26
KUBECTL_DOWNLOAD_URL_STUB ,
27
+ WARNET_USER_DIR_ENV_VAR ,
27
28
)
28
29
from .graph import inquirer_create_network
29
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 ("\n When you're ready, run the following command to deploy this network:" )
440
441
click .echo (f" warnet deploy { custom_network_path } " )
441
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
+
442
448
443
449
@click .command ()
444
450
def init ():
You can’t perform that action at this time.
0 commit comments