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.2.tar.gz
.
File metadata
- Download URL: startwork-0.1.2.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 | 72c7a31ac8f23366b1360635c567d4254952cffe0e53271136d554716318b854 |
|
MD5 | d4836f7ae16011c00900a1a9ac37b703 |
|
BLAKE2b-256 | 3bd03f1f875b332b3970e56a5d34b37dcf27d3fa83d03f1a76ba10cfe828fb2b |
File details
Details for the file startwork-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: startwork-0.1.2-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 | 935ba2f1582a1d4ece52d82e67a18c4235e3de325dd0d38a377c41450673cff4 |
|
MD5 | 4408385c9f0f4eed0fd563edd8164793 |
|
BLAKE2b-256 | 88ccb39e622bf3d78e464da4d409775f98b79df7207ad8aa776569d225274fbb |