Skip to content

devinpearson/ipb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Investec Programmable Banking CLI

Allows you to deploy your code directly to your card. It also includes a emulator to test your code locally.

License: MIT

Table of Contents

Installation

Before installing, download and install Node.js.

git clone https://github.com/devinpearson/ipb.git
cd ipb
npm install

Usage

Commands: fetch-cards Gets a list of cards fetch-env [cardkey] [filename] fetches your environmental variables executions card execution logs deploy deploys your code to your card fetch [filename] fetches your saved code publish [cardkey] [codeid] [filename] publishes your saved code fetch-published [cardkey] [filename] fetches your published code run run your code locally toggle [enabled] enable/disable card code upload [cardkey] [filename] uploads your code to saved code upload-env [cardkey] [filename] publishes your environmental variables set set auth credentials

Options: -h, --help Show help [boolean] -v, --version Show version number [boolean]

Options:

-e, --env [environment] The environment to use

-a, --amount [amount] The amount of the transaction

-c, --currency [currency] The currency of the transaction

--mcc [mcc] The merchant category code of the transaction

-m, --merchant [merchant] The merchant name of the transaction

-i, --city [city] The city of the transaction

-o, --country [country] The country of the transaction

-h, --help Display help for command

-v, --version Display the current version

To run a transaction against a template, run the following command:

node . main.js -e prod --amount 60000 --currency ZAR --mcc 0000 --merchant "Test Merchant" --city "Test City" --country ZA

Contributing

Contributions are welcome! Please submit a pull request or open an issue for any suggestions or improvements.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Contact

For inquiries, please open an issue.

Acknowledgments

Other Projects

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published