Skip to content

Commit

Permalink
rename dev commands
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityblast committed Feb 12, 2024
1 parent 8420787 commit b4f2768
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions scripts/dev
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ populate_v2() {
bash -c "npx hardhat run scripts/dev/populate.ts --no-compile --network dev2"
}

start_services() {
start() {
echo "Starting all services..."
docker-compose up -d
docker-compose logs -f
}

stop_services() {
stop() {
echo "Stopping all services..."
docker-compose down
}
Expand All @@ -146,8 +146,8 @@ print_help() {
echo " deploy-v2 Deploy Allo V2 contracts"
echo " populate-v1 Populate Allo V1 contracts"
echo " populate-v2 Populate Allo V2 contracts"
echo " start-services Start all Docker Compose services and follow logs"
echo " stop-services Stop all Docker Compose services"
echo " start Start all Docker Compose services and follow logs"
echo " stop Stop all Docker Compose services"
echo " help Display this help message"
}

Expand All @@ -168,11 +168,11 @@ main() {
populate-v2)
populate_v2
;;
start-services)
start_services
start)
start
;;
stop-services)
stop_services
stop)
stop
;;
help)
print_help
Expand Down

0 comments on commit b4f2768

Please sign in to comment.