trustauthx-cli

CLI tool for creating trustauthx sdk examples

Local Installation

Prerequisites

Before using trustauthx-cli, ensure you have Node.js and npm installed on your machine.

Installation Steps

  1. Clone this repository:

    git clone https://github.com/your-username/trustauthx-cli.git
  2. Navigate to the project folder:

    cd trustauthx-cli
  3. Install dependencies:

    npm install

Usage

Build

Before publishing or linking, build the TypeScript code to JavaScript:

npm run prepublish

Link (for testing)

To test the CLI tool locally, you can use npm link:

npm link

Create Trustauthx SDK Example

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.