zippie
v0.0.1
Published
CLI tool to create zip archives using a configuration file
Maintainers
Readme
Zippie
CLI tool to create zip archives using a configuration file.
Table of Contents
Installation
Ensure you have Node.js installed. Then, install Zippie globally using npm:
npm install -g zippieor install locally in your project:
npm install -D zippieUsage
zippie [destination] [options]Configuration File
Zippie uses a configuration file (default: .distzip) to specify which files to include in the zip archive. The file format is simple:
- Each line represents a pattern to include
- Lines starting with
#are treated as comments - Exclusion patterns can be specified using
:!syntax
Supported Pattern Types
Simple glob patterns:
assets/* *.hbs package.jsonExclusion patterns:
*.hbs:!demo-*This includes all
.hbsfiles but excludes those starting withdemo-.Directory patterns:
locales/**/*This includes all files in the
localesdirectory and its subdirectories.
Commands and Options
zippie [destination] [options]| Argument | Description | Default |
| ------------ | :----------------------------------------- | :---------- |
| destination | Path to the output zip file | output.zip |
| Option | Description | Default |
| ----------------- | :----------------------------------------- | :---------- |
| -c, --config | Path to configuration file | .distzip |
| -d, --cwd | Working directory | Current dir |
| -v, --verbose | Show verbose output | false |
Examples
Create a zip file using the default configuration:
zippieSpecify a custom destination:
zippie dist/theme.zipUse a custom configuration file:
zippie --config custom-config.txtShow verbose output:
zippie theme.zip --verboseDeveloper Setup
- Fork this repo
git clone https://github.com/priority-vision/zippie.git path/to/your/workspacecd path/to/your/workspacenpm install
To run the CLI using your workspace files:
npm linkzippie [destination] [options](you can run anywhere on your system)
Copyright & License
- MIT License
- Copyright (c) 2025 Priority Vision.
