From 73a159c9c7a634ef0c8b4b6fe1dabe5f80b012a7 Mon Sep 17 00:00:00 2001 From: Arsalan Date: Mon, 2 Dec 2024 00:53:55 +0000 Subject: [PATCH] Update setup.sh --- scripting_tools/setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripting_tools/setup.sh b/scripting_tools/setup.sh index dd67c8b..bdf067d 100755 --- a/scripting_tools/setup.sh +++ b/scripting_tools/setup.sh @@ -64,6 +64,10 @@ else exit 1 fi +# Create a symlink for the azzy-cli command globally +echo -e "${YELLOW}Creating global symlink for azzy-cli...${NC}" +sudo ln -sf /home/arsalan/repositories/azzy-cli/azzy_cli.py /usr/local/bin/azzy-cli + # Notify the user that the setup process is complete echo -e "${GREEN}Setup complete. Virtual environment is ready to use.${NC}" echo -e "${GREEN}To activate the virtual environment manually, run:${NC}" @@ -71,4 +75,4 @@ echo -e "${GREEN}source $VENV_DIR/bin/activate${NC}" # Instruction to run the main azzy-cli.py script echo -e "${GREEN}You can now run the CLI with:${NC}" -echo -e "${GREEN}python3 ../azzy-cli/azzy_cli.py --help${NC}" +echo -e "${GREEN}azzy-cli --help${NC}"