Skip to content

Day 24 — Bash script for service CLI workflow #14

Description

@Kirill-A-dev

Day 24 — Bash script for service CLI workflow

Goal

Create a Bash script that runs common project commands.

The goal is to automate repeated terminal actions and practice basic Bash scripting.

Tasks

  • Create a new folder day24
  • Copy files from day21
  • Create run.sh
  • Add command to run service list
  • Add command to run service status
  • Add command to run pytest
  • Make script executable with chmod +x run.sh
  • Run script from terminal
  • Test different script arguments if needed
  • Add day24/README.md
  • Update main README.md
  • Commit and push changes

Practice topics

  • Bash scripts
  • executable files
  • chmod +x
  • running Python from Bash
  • automating project commands
  • simple DevOps workflow

Expected result

Project commands can be started through a Bash script.

Example:

./run.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions