From e565c03907c9b97deb9219af88c63babfa99395d Mon Sep 17 00:00:00 2001 From: Hiren Lalakiya Date: Thu, 9 Jan 2025 18:26:06 +0530 Subject: [PATCH] feat: U3_T2_Update_Readme --- README.md | 18 +++++++++++++++++- package.json | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8294bcd..0f35b23 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Pocket CLI is a command-line tool designed to streamline the deployment process ## Installation ```bash -npm install -g pocket-cli +npm install -g simform-pocket-cli ``` ## Distribution @@ -14,6 +14,22 @@ npm install -g pocket-cli pocket distribute --applicationId "yourApplicationID" --buildPath "yourBuildPath" --appToken "YourAppToken" --baseUrl "base url of the server" --releaseNotes "formatted release notes" ``` +## Example + +```bash +pocket distribute --applicationId "" --buildPath "/Downloads/app-release.apk" --appToken "" --baseUrl "/functions/v1/" --releaseNotes "formatted release notes" +``` + +## How to get Application ID and App Token + +1. Log in to Pocket Deploy and navigate to your app's detail page. +2. Go to the Settings tab: + + - Application ID: Find it displayed here. + - App Token: Click the Add Connection button to generate a new token. + + Note: The App Token can only be generated once. Make sure to store it securely after generating. + ## Awesome Mobile Libraries - Check out our other [available awesome mobile libraries](https://github.com/SimformSolutionsPvtLtd/Awesome-Mobile-Libraries) diff --git a/package.json b/package.json index 36d5b26..e19b975 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simform-pocket-cli", - "version": "1.0.0", + "version": "1.0.1", "description": "Pocket Deploy command-line utility", "homepage": "https://github.com/SimformSolutionsPvtLtd/pocket-cli/#readme", "author": "Simform Solutions",