passbook-cli
v0.0.6
Published
A command line tool that simplifies the process of creating certificates, signing .raw packages and validating .pkpass packages for Apple Wallet.
Downloads
9
Readme
#passbook-cli
Docs
Visit the doclets site.
Description
A command line tool that simplifies the process of creating certificates, signing .raw
packages and validating .pkpass
packages for Apple Wallet.
Install
To install passbook-cli from npm, run:
$ npm install -g passbook-cli
Usage
$ passbook-cli --help
1. Create PEM Files
Create pem
certificate and key
for signing a .raw
pass package.
$ passbook create-pems \
--input=./src/certificates/pass.io.passbookmanager.test.p12 \
--output=./temp \
--passphrase=test
2. Create .pkpass
package
Create a .pkpass
package from a .raw
package.
$ passbook create-pass \
--name=test-pass \
--type=coupon \
--output=./temp
Command available
$ passbook-cli
$ passbook
Commands:
create-pass [options] Create a .raw pass package from pass type templates.
create-pems [options] Create the required certkmifcate and key from a .p12
config [key] [value] Get and set options
Options:
-h, --help output usage information
-d, --debug enable debugger
-V, --version output the version number
Examples:
$ custom-help --help
$ custom-help -h
$ passbook create-pems --input ./src/certificates/pass.io.passbookmanager.test.p12 --passphrase test --output ./tmp
Environment Variables
$ export PASS_TYPE_IDENTIFIER=XXX
$ export TEAM_IDENTIFIER=XXX
License
Copyright (c) 2016 Jonnie Spratley MIT License
Acknowledgments
Built using generator-commader.