Comeback - Project restoration in one command, auto open everything! comeback helps you open your project's ide/browser/terminal (and more!) all at once - so you wouldn't have to do it manually. Get right back to the business of actually developing.
If it takes you an average of 2 minutes to open all of your project's tools, then you waste about 8.5 hours a year per project, not to mention the friction it adds to start really working :O
1) In the project directory, we have .comeback
recipe:
[
{
"vscode": {
"cwd": "~/dev/myproject"
}
},
{
"chrome": {
"url": "http://localhost:8080/"
}
}
]
2) Open a terminal in the project dir and run comeback
This .comeback recipe will open vscode in the
~/dev/myproject
path, and open chrome at thehttp://localhost:8080/
url.
pipenv shell
pipenv install -e .
comeback --help
cd example
comeback # and see the magic
pip install -e /path/to/comeback
(the directory must have the setup.py file in it)
Sometimes on linux you may need to configure site-pacakges to be in path like so:
export PATH="$PATH:~/path/to/python/site-packages"
1) Create a new directory in comeback/plugins
with the name of the program you want to interact with.
2) Add a __init__.py
file in that directory
3) Create a main.py
file with:
run_plugin(arg0, arg1...)
- start the plugin, make sure this is cross-platform. You may want to see the CONTRIBUTING.md if you decide to add a plugin.
.comeback
recipes for each kind of developer:npm run start
pytest tests
Coverage:
pytest --cov=comeback tests
(see pytest-cov)
Sammy wants you to help :) you can be one of our active contributors.
A great place to start is to go to our issues, and search for the tag "good first issue".
Even just adding a new feature request / bug can help.
See the CONTRIBUTING.md file