Small CLI to easier start and swap between projects in different stacks.
Project description
# Start-Work
<!– badges start –> ![GitHub repo size](https://img.shields.io/github/repo-size/JorbFreire/startwork?style=plastic) [![Publish](https://github.com/JorbFreire/startwork/workflows/Publish/badge.svg)](https://github.com/JorbFreire/startwork/actions?query=workflow:”Publish”) [![GitHub release](https://img.shields.io/github/release/JorbFreire/startwork?include_prereleases=&sort=semver&color=blue)](https://github.com/JorbFreire/startwork/releases/) [![License](https://img.shields.io/badge/License-MIT-blue)](#license) ![OS - Linux](https://img.shields.io/badge/OS-Linux-blue?logo=linux&logoColor=white) [![dependency - StartWork](https://img.shields.io/badge/dependency-StartWork-blue?logo=python&logoColor=white)](https://pypi.org/project/StartWork) [![Github](https://img.shields.io/badge/Github-purple?logo=github)](https://github.com/JorbFreire/startwork) <!– badges end –>
Small CLI to easier start and swap between projects in different stacks.
## motivation
It’s not hard to set up and run most modern software projects.
- Usually, we just have to run two something like pip install -r requirements.txt
and flask run or something similar. The real problem comes we you have to constantly switch contexts, even worse when working with multiple projects in multiple languages with totally different setups a couple of times a day.
- [Docker](https://www.docker.com/) and [DockerCompose](https://docs.docker.com/compose/) are great tools to handle this problem. Start Work
should not be a replacement for Docker either Docker compose and shall even work with both.
- With Start-Work will be easier to switch between projects from any folder and
get your development environment up and running only by selecting the project you wanna work on, and when some of these projects for some reason don’t allow Docker, Start-Work will also try to identify which tools you are using and run it for you.
## Installation
Just run: `bash pip install startwork `
It’s done, the installation can be verified with: `bash work --version `
## CLI Options
`bash work ` Will display a list and let you select one of your saved projects
<br />
`bash work create ` Will guide you with a couple of questions to save a new project.
<br />
`bash work delete ` Will display a list and let delete one of your saved projects.
- Note: it will not remove the project from your computer, only from the list on
Start-Work
<br />
`bash work --version ` Show current version
<br />
`bash work --help ` Show currently available CLI options
## Next goals
[ ] Handle multiple environments in a single folder - [ ] Detect multiple environments - [ ] Let you choose the environment that will be run - [ ] Let you mark multiple to run at the same time
[ ] Handle multiple folders - [ ] When not matched by any setup pattern, check inside the first children’s folders - [ ] When multiple children folders match, let you choose one folder - [ ] Let you mark multiple folders to run at the same time
[ ] Handle multiple folders AND multiple environments at the same call
[ ] Write fully covered end-to-end tests
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
Built Distribution
File details
Details for the file startwork-0.1.3.tar.gz
.
File metadata
- Download URL: startwork-0.1.3.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 160c1abc6894285cfefe29494a5c4be829e91265638576cd2ec3d36372f78f4c |
|
MD5 | 9005780b69deb33caf98bcfa98af2fb2 |
|
BLAKE2b-256 | 503c575e6985aae2b611baf036beed380886c85d32f38f496605176532b9618c |
File details
Details for the file startwork-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: startwork-0.1.3-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be400d60f4aaadb1e87b22ce2353100a9bdca5ed748ecb433530e8a872278370 |
|
MD5 | e4d73f5a980992356b2496f0ea9abd27 |
|
BLAKE2b-256 | 6ec97c355870e79794fd685314a7d6f9e33d3a432b80eb41e213dd56ece5089d |