CLI tool for starting up a project
Project description
james - at your service
CLI tool for starting up a new project
Before:
- Go to Azure DevOps
- select project
- go to Repos
- create new repo
- copy clone url
- Run cookiecutter
- get cookiecutter url and start
- paste clone url
- fill in stuff
- Setup local repo
- git remote set-url
- git add template files
- git commit & push
- git create dev branch
- Create python env
After:
- james init
- fill in stuff
- james go
What it does is:
- prompt for settings
- create a new git repository
- apply cookiecutter template
- setup a local git repo and link it to the remote
- create python environment
Usage
One time setup:
pip install dsl-james
(can be in your base Python environment)james setup
for some general settings
Starting a new project:
james init
will define a new project and prompt your for configuration settingsjames show
will show configuration (optional)- when inside a project dir, it will show configuration of that specific project
- when inside any other dir, it will show the default configuration
james status
will show the status of ignition phases (optional)james go
to executejames review
for code inspection
Info
james will create .james.ini
config files:
- One in your home dir (~). This will contain base info (from the
setup
), as well as project-specific info from the last project you defined withinit
. - One for each project, located in
<projects-dir>/<your-project>
. This is basically a copy of the generic file. When calling amy james command, james will use the project's config file
To Do
- Azure setup
- Azure DevOps setup
- Project setup
- Create git repository
- Cookiecutter
- Support for multiple cookiecutter templates
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage
project template.
- Cookiecutter: https://github.com/audreyr/cookiecutter
audreyr/cookiecutter-pypackage
: https://github.com/audreyr/cookiecutter-pypackage
History
v0.1.3 (2021-06-03)
- Code review added
- General bugfixes
v0.1.2 (2021-01-14)
- Ignore this release
v0.1.1 (2021-01-14)
- Ignore this release
v0.1.0 (2021-01-14)
- First release on PyPI
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
dsl-james-0.1.4.tar.gz
(25.4 kB
view details)
Built Distribution
File details
Details for the file dsl-james-0.1.4.tar.gz
.
File metadata
- Download URL: dsl-james-0.1.4.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3b3b99f42096c2b42d995c74a23e01c382d974dcd5f028d73176ba2772d6d27 |
|
MD5 | 7247b4378f1fe2b5382ad46d2f2b91df |
|
BLAKE2b-256 | a9a85e13c486959355f347c4e50561705e1ad5c5c42ec42cd43e4f4128cdb4bd |
File details
Details for the file dsl_james-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: dsl_james-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f277b798c9855c0f3ffd77624cba60b66b5994f64c3eba6f767ec36c4acb17e2 |
|
MD5 | e78f9cde73c3f2cbe3c70de135e46468 |
|
BLAKE2b-256 | d29180b2a9d3edc9d4e567d809c00b0bbe3a69acdf9a404a5083e9acf12722b6 |