Skip to main content

Fuzzy current location to git pull with all submodules or launch, close and exec container through docker-compose.

Project description

Dockit

- What is this?

Fuzzy the current location or appoint specific project name to

  • git

    • pull repository and all submodules
  • docker

    • launch the same prefix service with current project
    • close the same prefix service with current project
    • execute the container with the same as project

- History

# date version
1 2020/01/24 v0.1.2
2 2020/01/27 v0.1.4

v0.1.2

  • Fixed dockit -u & -d cannot work properly when the project not located at $HOME directory.

v0.1.4

  • Replaced whole color module.

- How to install

pip install dockit

- How to use

CLI

dockit [-h] [-n PROJECT_NAME] [-p] [-l] [-u] [-a] [-d] [-c] [-e] [-s]

-h, --help

show this help message and exit

-n, --project-name

appoint specific project name

-p, --git-pull

pull git repository and all sub repositories

-l, --docker-launch-service

parse project prefix and launch ${PREFIX}_service

-u, --docker-up-service

docker-compose up -d container with the same name as project

-a, --docker-attach-container

to keep attaching mode after docker-compose upped

-d, --docker-down-service

docker-compose down container with the same name as project

-c, --docker-close-service

parse project prefix and close ${PREFIX}_service

-e, --docker-exec-container

docker exec -it container bash

-s, --docker-show-containers

show docker processes

If you like my work, please consider buying me a coffee or PayPal Thanks for your support! Cheers! 🎉 Buy Me A Coffee

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dockit-0.1.4.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dockit-0.1.4-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file dockit-0.1.4.tar.gz.

File metadata

  • Download URL: dockit-0.1.4.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.9

File hashes

Hashes for dockit-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e5fc9d2de25b782c248cf52aad9ede1b7ead34d105550c2975eb04d090c05a5b
MD5 f61215591428931298cce1a889696aae
BLAKE2b-256 2938c6970d3227c735cac992db87bd9987db6952dc5ff1a968726890445ae02a

See more details on using hashes here.

File details

Details for the file dockit-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: dockit-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.9

File hashes

Hashes for dockit-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b2bea2ceb1f3558dcbb02d4d43b015e7d4337e7fd2c152a278e51dc24da3dd27
MD5 8faa2aac3353ba109dbfde1b07cdcd3b
BLAKE2b-256 f12f988d332af32cc97fef87a62827389d5d56ba5c2a04f5b6316a6cd1476907

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page