https://github.com/one-click-auth/ts-trustauthx-templates
https://github.com/one-click-auth/ts-trustauthx-templates
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/one-click-auth/ts-trustauthx-templates
- Owner: One-Click-Auth
- Created: 2023-12-24T16:58:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-18T17:00:41.000Z (over 2 years ago)
- Last Synced: 2025-06-23T22:43:35.172Z (about 1 year ago)
- Language: TypeScript
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# trustauthx-cli
CLI tool for creating trustauthx sdk examples
## Local Installation
### Prerequisites
Before using `trustauthx-cli`, ensure you have [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed on your machine.
### Installation Steps
1. Clone this repository:
```bash
git clone https://github.com/your-username/trustauthx-cli.git
```
2. Navigate to the project folder:
```bash
cd trustauthx-cli
```
3. Install dependencies:
```bash
npm install
```
## Usage
### Build
Before publishing or linking, build the TypeScript code to JavaScript:
```bash
npm run prepublish
```
### Link (for testing)
To test the CLI tool locally, you can use npm link:
```bash
npm link
```
### Create Trustauthx SDK Example
To create a new Trustauthx SDK example in your project, run:
```bash
npx create-trustauthx-sdk your-app-name --next
```
Replace `your-app-name` with the desired name for your Trustauthx SDK example.