Skip to content

Rewrite ./site.sh to Python #338

@mik-laj

Description

@mik-laj

Dear friends.

In this project, we have one bash script - ./site.sh that starts to grow more and more, so its maintenance becomes more problematic. I think it's a good idea to rewrite it into Python.

However, I would like us to continue limiting the use of external libraries. For Docker interactions, it is better to use docker-cli than the Docker library.

We use subcommands in the script. I am attaching an example of how to do this in Python.
https://gist.github.com/mik-laj/ff008718fc6cec9fe929731b8c62d6f8

Best regards,
Kamil Breguła

CC: @brennoflavio

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions