CLI tool for creating trustauthx sdk examples
Before using trustauthx-cli
, ensure you have Node.js and npm installed on your machine.
-
Clone this repository:
git clone https://github.com/your-username/trustauthx-cli.git
-
Navigate to the project folder:
cd trustauthx-cli
-
Install dependencies:
npm install
Before publishing or linking, build the TypeScript code to JavaScript:
npm run prepublish
To test the CLI tool locally, you can use npm link:
npm link
To create a new Trustauthx SDK example in your project, run:
npx create-trustauthx-sdk your-app-name --next
Replace your-app-name
with the desired name for your Trustauthx SDK example.