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 2424 KUBECTL_BLESSED_NAME_AND_CHECKSUMS ,
2525 KUBECTL_BLESSED_VERSION ,
2626 KUBECTL_DOWNLOAD_URL_STUB ,
27+ WARNET_USER_DIR_ENV_VAR ,
2728)
2829from .graph import inquirer_create_network
2930from .network import copy_network_defaults , copy_plugins_defaults , copy_scenario_defaults
@@ -439,6 +440,11 @@ def new_internal(directory: Path, from_init=False):
439440 click .echo ("\n When you're ready, run the following command to deploy this network:" )
440441 click .echo (f" warnet deploy { custom_network_path } " )
441442
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+
442448
443449@click .command ()
444450def init ():
You can’t perform that action at this time.
0 commit comments