npm.io
26.1.28 • Published 5 months agoCLI

perrisbrewery

Licence
MIT
Version
26.1.28
Deps
20
Size
32 kB
Vulns
0
Weekly
0
Stars
2

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": "^26.1.20",

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]

Pack CLI into debian package.

USAGE
  $ pb deb [PATHSOURCE] [-h] [-a] [-r <value>] [-M] [-v]

ARGUMENTS
  [PATHSOURCE]  pathSource

FLAGS
  -M, --manpages         refresh manpages on the sources
  -a, --all              all architectures
  -h, --help             Show CLI help.
  -r, --release=<value>  release
  -v, --verbose          verbose

DESCRIPTION
  Pack CLI into debian package.

  Create a deb package from your npm package

See code: 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

pb tarballs [TARBALLS]

rename tarballs with release.

USAGE
  $ pb tarballs [TARBALLS] [-h] [-r <value>] [-v]

ARGUMENTS
  [TARBALLS]  pathTarballs

FLAGS
  -h, --help             Show CLI help.
  -r, --release=<value>  release
  -v, --verbose          verbose

DESCRIPTION
  rename tarballs with release.

  Tarballs

See code: src/commands/tarballs.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

More informations

You can contact me by mail or follow me on blog, facebook, github, jtsi, reddit, telegram, twitter.

Copyright (c) 2017, 2026 Piero Proietti, dual licensed under the MIT or GPL Version 2 licenses.

Keywords