Perri's Brewery
It parses the debian packages created with oclif and adds the pre- and post-installation/removal scripts to them and generates the man manual page.
Usage
$ npm install -g perrisbrewery
$ pb COMMAND
running command...
$ pb (--version|-v)
perrisbrewery/9.3.14 linux-x64 node-v16.19.0
$ pb --help [COMMAND]
USAGE
$ pb COMMAND
...
Commands
pb autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ pb autocomplete [SHELL] [-r]
ARGUMENTS
SHELL shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
display autocomplete installation instructions
EXAMPLES
$ pb autocomplete
$ pb autocomplete bash
$ pb autocomplete zsh
$ pb autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
pb deb [PATHSOURCE]
add preinst, postinst, prerm, postrm scripts and manPages to .deb
USAGE
$ pb deb [PATHSOURCE] [-v] [-h] [-m]
FLAGS
-h, --help Show CLI help.
-m, --mantain
-v, --verbose verbose
DESCRIPTION
add preinst, postinst, prerm, postrm scripts and manPages to .deb
See code: lib/commands/deb.js
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.