@tarout/cli 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -190,7 +190,7 @@ function getToken() {
190
190
  }
191
191
  function getApiUrl() {
192
192
  const profile = getCurrentProfile();
193
- return profile?.apiUrl || "https://app.tarout.sa";
193
+ return profile?.apiUrl || "https://tarout.sa";
194
194
  }
195
195
  function updateProfile(updates) {
196
196
  const cfg = getConfig();
@@ -423,7 +423,7 @@ function similarity(s1, s2) {
423
423
 
424
424
  // src/commands/auth.ts
425
425
  function registerAuthCommands(program2) {
426
- program2.command("login").description("Authenticate with Tarout via browser").option("--api-url <url>", "Custom API URL", "https://app.tarout.sa").action(async (options) => {
426
+ program2.command("login").description("Authenticate with Tarout via browser").option("--api-url <url>", "Custom API URL", "https://tarout.sa").action(async (options) => {
427
427
  try {
428
428
  if (isLoggedIn()) {
429
429
  const profile = getCurrentProfile();
@@ -2303,7 +2303,7 @@ function findEnv(envs, identifier) {
2303
2303
 
2304
2304
  // src/index.ts
2305
2305
  var program = new Command();
2306
- program.name("tarout").description("Tarout PaaS Command Line Interface").version("0.1.0").option("--json", "Output as JSON (machine-readable)").option("-y, --yes", "Skip all confirmation prompts").option("-q, --quiet", "Minimal output").option("-v, --verbose", "Extra debug information").option("--no-color", "Disable colored output").hook("preAction", (thisCommand) => {
2306
+ program.name("tarout").description("Tarout PaaS Command Line Interface").version("0.1.2").option("--json", "Output as JSON (machine-readable)").option("-y, --yes", "Skip all confirmation prompts").option("-q, --quiet", "Minimal output").option("-v, --verbose", "Extra debug information").option("--no-color", "Disable colored output").hook("preAction", (thisCommand) => {
2307
2307
  const opts = thisCommand.opts();
2308
2308
  setGlobalOptions({
2309
2309
  json: opts.json || false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarout/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Tarout PaaS Command Line Interface",
5
5
  "type": "module",
6
6
  "bin": {