Skip to content

Come on Perri's Brewery and add control, manpages, preinst, postinst, prerm and postrm scripts to oclif Debian packages

Notifications You must be signed in to change notification settings

pieroproietti/perrisbrewery

Repository files navigation

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]

Pack CLI into debian package.

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

ARGUMENTS
  PATHSOURCE  pathSource

FLAGS
  -a, --all               all architectures
  -c, --codename=<value>  codename
  -h, --help              Show CLI help.
  -m, --mantain
  -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 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 and licenses

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

About

Come on Perri's Brewery and add control, manpages, preinst, postinst, prerm and postrm scripts to oclif Debian packages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published