mpi_data_store / utils_cli.sh
rianders's picture
fixed dependency generation
5c8cbfc
raw
history blame
1.07 kB
#!/bin/bash
# Function to export requirements using Poetry
export_requirements() {
poetry export --without-hashes --format=requirements.txt --output=requirements.txt
}
# Main function
main() {
echo "Choose an option:"
echo "1. Export requirements using Poetry"
echo "2. Option 2"
echo "3. Option 3"
echo "4. Option 4"
echo "5. Option 5"
read -p "Enter your choice [1-5]: " choice
case $choice in
1)
export_requirements
;;
2)
echo "You chose option 2"
# Add your code for option 2 here
;;
3)
echo "You chose option 3"
# Add your code for option 3 here
;;
4)
echo "You chose option 4"
# Add your code for option 4 here
;;
5)
echo "You chose option 5"
# Add your code for option 5 here
;;
*)
echo "Invalid choice. Please enter a number from 1 to 5."
;;
esac
}
# Call the main function
main