view.py icon indicating copy to clipboard operation
view.py copied to clipboard

Local Development Tools

Open ZeroIntensity opened this issue 1 year ago • 0 comments

Improvement Description

Cloning and building view might scare away contributors, so it should be pretty easy to make a command that automates it. It shouldn't do much more than:

  • Clone the repository and cd into it
  • Create a test.py file
  • Initialize a virtual environment

I don't see why it couldn't also have subcommands for building, updating the changelog, or running tests.

Improvement Request Example API

$ view local
 * Cloning https://github.com/ZeroIntensity/view.py
 - Successfully cloned
 * Initializing virtual environment
 - Set up virtual environment
 - Created `test.py`
 * Installing project locally
 ... pip output
 - Successfully created local development project
$ view local build
 * Installing project
 ... pip output
 - Successfully installed local view.py under `view`
$ view local changelog "Added support for `foo`"
 - Updated `CHANGELOG.md`
$ view local test
 * Installing project
 ... pip output
 - Successfully installed local project
 * Running ward
 ... ward output

Anything else?

No response

ZeroIntensity avatar Nov 29 '23 18:11 ZeroIntensity