https://github.com/alexseitsinger/package-controller
A package that manages packages
https://github.com/alexseitsinger/package-controller
cli distribution documentation node packaging python versioning
Last synced: about 1 year ago
JSON representation
A package that manages packages
- Host: GitHub
- URL: https://github.com/alexseitsinger/package-controller
- Owner: alexseitsinger
- License: bsd-2-clause
- Created: 2019-05-08T02:10:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:50:25.000Z (over 3 years ago)
- Last Synced: 2025-04-07T18:02:30.818Z (about 1 year ago)
- Topics: cli, distribution, documentation, node, packaging, python, versioning
- Language: Python
- Homepage:
- Size: 292 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Package Controller
## Description
A CLI tool that acts as a wrapper for various other programs to make updating and publishing python and node packages easier.
## Installation
Preferred:
```
pipx install package-controller
```
Alternative:
```
pipenv install package-controller
```
Default:
```
pip install package-controller
```
## Usage
To stage and commit in one command:
```
pc save -t -m (, , ...)
```
To create new documentation for the package.
```
pc document
```
To pin the package versions for python or node.
```
pc pin --development | --production | --peer | --optional
```
To unpin the package versions for python or node.
```
pc unpin --development | --production | --peer | --optional
```
To get the diff of a file.
```
pc diff path/to/file
```
To run unit/integration tests.
```
pc test --unit --integration
```
To add file(s) to a commit.
```
pc add (, , ...)
```
To create the commit.
```
pc commit -t -m
```
To increase the major version
```
pc version --major (--no-git --force)
```
To increase the minor version
```
pc version --minor (--no-git --force)
```
To increase the patch version
```
pc version --patch (--no-git --force)
```
To get the current version
```
pc version
```
To build the current version.
```
pc build (--force)
```
To release the latest version. (to PyPi (Python) or NPM (Node), and git)
```
pc release (--remote --branch --no-tag --force)
```