An open API service indexing awesome lists of open source software.

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

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