diggo-pkg
v0.4.1
Published
Utility for building and publishing Diggo plugins
Downloads
26
Readme
diggo-pkg
diggo-pkg
is a tool for bundling and publishing Flipper plugins.
Usage
$ npm install -g diggo-pkg
$ diggo-pkg COMMAND
running command...
$ diggo-pkg (-v|--version|version)
diggo-pkg/0.4.0 darwin-x64 node-v14.4.0
$ diggo-pkg --help [COMMAND]
USAGE
$ diggo-pkg COMMAND
...
Commands
diggo-pkg bundle [DIRECTORY]
diggo-pkg checksum [DIRECTORY]
diggo-pkg help [COMMAND]
diggo-pkg init [DIRECTORY]
diggo-pkg lint [DIRECTORY]
diggo-pkg migrate [DIRECTORY]
diggo-pkg pack [DIRECTORY]
diggo-pkg bundle [DIRECTORY]
transpiles and bundles plugin
USAGE
$ diggo-pkg bundle [DIRECTORY]
ARGUMENTS
DIRECTORY [default: .] Path to plugin package directory for bundling. Defaults to the current working directory.
OPTIONS
--production Force env.NODE_ENV=production, enable minification and disable producing source maps.
--watch Watch for plugin source code and bundle it after every change.
EXAMPLE
$ diggo-pkg bundle path/to/plugin
diggo-pkg checksum [DIRECTORY]
computes the total checksum of all the package files
USAGE
$ diggo-pkg checksum [DIRECTORY]
ARGUMENTS
DIRECTORY [default: .] Path to plugin package directory. Defaults to the current working directory.
EXAMPLE
$ diggo-pkg checksum path/to/plugin
diggo-pkg help [COMMAND]
display help for diggo-pkg
USAGE
$ diggo-pkg help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
diggo-pkg init [DIRECTORY]
initializes a Diggo desktop plugin template in the provided directory
USAGE
$ diggo-pkg init [DIRECTORY]
ARGUMENTS
DIRECTORY [default: .] Path to the directory where the plugin package template should be initialized. Defaults to the
current working directory.
EXAMPLE
$ diggo-pkg init path/to/plugin
diggo-pkg lint [DIRECTORY]
validates a plugin package directory
USAGE
$ diggo-pkg lint [DIRECTORY]
ARGUMENTS
DIRECTORY [default: .] Path to plugin package directory for linting. Defaults to the current working directory.
EXAMPLE
$ diggo-pkg lint path/to/plugin
diggo-pkg migrate [DIRECTORY]
migrates a Diggo desktop plugin to the latest version of specification
USAGE
$ diggo-pkg migrate [DIRECTORY]
ARGUMENTS
DIRECTORY [default: .] Path to the plugin directory. Defaults to the current working directory.
OPTIONS
--no-dependencies Do not add or change package dependencies during migration.
--no-scripts Do not add or change package scripts during migration.
EXAMPLE
$ diggo-pkg migrate path/to/plugin
diggo-pkg pack [DIRECTORY]
packs a plugin folder into a distributable archive
USAGE
$ diggo-pkg pack [DIRECTORY]
ARGUMENTS
DIRECTORY [default: .] Path to plugin package directory to pack. Defaults to the current working directory.
OPTIONS
-o, --output=output [default: .] Where to output the package, file or directory. Defaults to the current working
directory.
--production Force env.NODE_ENV=production, enable minification and disable producing source maps.
EXAMPLE
$ diggo-pkg pack path/to/plugin