Skip to main content

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 settings
  • james 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 execute
  • james 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 with init.
  • 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.

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 hashes)

Uploaded Source

Built Distribution

dsl_james-0.1.4-py2.py3-none-any.whl (20.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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