Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pieroproietti/perrisbrewery
Come on Perri's Brewery and add control, manpages, preinst, postinst, prerm and postrm scripts to oclif Debian packages
https://github.com/pieroproietti/perrisbrewery
cli debian oclif packages
Last synced: 3 months ago
JSON representation
Come on Perri's Brewery and add control, manpages, preinst, postinst, prerm and postrm scripts to oclif Debian packages
- Host: GitHub
- URL: https://github.com/pieroproietti/perrisbrewery
- Owner: pieroproietti
- Created: 2022-05-11T07:51:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-23T06:33:09.000Z (6 months ago)
- Last Synced: 2024-10-09T14:30:49.975Z (3 months ago)
- Topics: cli, debian, oclif, packages
- Language: TypeScript
- Homepage: https://penguins-eggs.net
- Size: 974 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# Perri's Brewery
Compatible with oclif 4.x, build debian packages from dist, create manpage from README.md and include prerm, postrm, preinst and postinst scripts for Debian package.# Usage
Add the package to your package.json as devDependencies
```
"perrisbrewery": "^9.7.12*,
```and create a script deb:
```
"deb": "tsc -p . && pb deb",
```Create a config dir `perrisbrewery` inside the project followind the sample,
then use the script deb with your favourite package manager, mine is pnpm:```
pnpm deb
```# Commands
* [`pb deb [PATHSOURCE]`](#pb-deb-pathsource)
* [`pb help [COMMAND]`](#pb-help-command)
* [`pb version`](#pb-version)## `pb deb [PATHSOURCE]`
Pack CLI into debian package.
```
USAGE
$ pb deb [PATHSOURCE] [-h] [-a] [-c ] [-m] [-r ] [-v]ARGUMENTS
PATHSOURCE pathSourceFLAGS
-a, --all all architectures
-c, --codename= codename
-h, --help Show CLI help.
-m, --mantain
-r, --release= release
-v, --verbose verboseDESCRIPTION
Pack CLI into debian package.Create a deb package from your npm package
```_See code: [src/commands/deb.ts](https://github.com/pieroproietti/perrisbrewery/blob/v10.0.0/src/commands/deb.ts)_
## `pb help [COMMAND]`
Display help for pb.
```
USAGE
$ pb help [COMMAND...] [-n]ARGUMENTS
COMMAND... Command to show help for.FLAGS
-n, --nested-commands Include all nested commands in the output.DESCRIPTION
Display help for pb.
```_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.3/src/commands/help.ts)_
## `pb version`
```
USAGE
$ pb version [--json] [--verbose]FLAGS
--verbose Show additional information about the CLI.GLOBAL FLAGS
--json Format output as json.FLAG DESCRIPTIONS
--verbose Show additional information about the CLI.Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
```_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.4/src/commands/version.ts)_
# More informations
You can contact me by [mail](mailto://[email protected]) or follow me on
[blog](https://penguins-eggs.net),
[facebook](https://www.facebook.com/groups/128861437762355/),
[github](https://github.com/pieroproietti/penguins-krill),
[jtsi](https://meet.jit.si/PenguinsEggsMeeting),
[reddit](https://www.reddit.com/user/Artisan61),
[telegram](https://t.me/penguins_eggs),
[twitter](https://twitter.com/pieroproietti).# Copyright and licenses
Copyright (c) 2017, 2023 [Piero Proietti](https://penguins-eggs.net/about-me.html), dual licensed under the MIT or GPL Version 2 licenses.