@base44-preview/cli 0.0.32-pr.259.1042e3a → 0.0.32-pr.259.22f7157

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.
package/README.md CHANGED
@@ -43,22 +43,28 @@ The CLI will guide you through project setup. For step-by-step tutorials, see th
43
43
 
44
44
  | Command | Description |
45
45
  | ------- | ----------- |
46
- | [`create`](https://docs.base44.com/developers/references/cli/commands/create) | Create a new Base44 project from a template |
47
- | [`deploy`](https://docs.base44.com/developers/references/cli/commands/deploy) | Deploy resources and site to Base44 |
48
- | [`link`](https://docs.base44.com/developers/references/cli/commands/link) | Link a local project to a project on Base44 |
49
- | [`dashboard open`](https://docs.base44.com/developers/references/cli/commands/dashboard) | Open the app dashboard in your browser |
46
+ | [`create`](https://docs.base44.com/developers/references/cli/commands/create) | Create a new Base44 project |
47
+ | [`deploy`](https://docs.base44.com/developers/references/cli/commands/deploy) | Deploy all project resources (entities, functions, agents, connectors, and site) |
48
+ | [`eject`](https://docs.base44.com/developers/references/cli/commands/eject) | Download the code for an existing Base44 project |
49
+ | [`link`](https://docs.base44.com/developers/references/cli/commands/link) | Link a local project to a Base44 project (create new or link existing) |
50
50
  | [`login`](https://docs.base44.com/developers/references/cli/commands/login) | Authenticate with Base44 |
51
- | [`logout`](https://docs.base44.com/developers/references/cli/commands/logout) | Sign out and clear stored credentials |
52
- | [`whoami`](https://docs.base44.com/developers/references/cli/commands/whoami) | Display the current authenticated user |
53
- | [`agents pull`](https://docs.base44.com/developers/references/cli/commands/agents-pull) | Pull agents from Base44 to local files |
54
- | [`agents push`](https://docs.base44.com/developers/references/cli/commands/agents-push) | Push local agents to Base44 |
51
+ | [`logout`](https://docs.base44.com/developers/references/cli/commands/logout) | Logout from current device |
52
+ | [`whoami`](https://docs.base44.com/developers/references/cli/commands/whoami) | Display current authenticated user |
53
+ | [`dashboard open`](https://docs.base44.com/developers/references/cli/commands/dashboard) | Open the app dashboard in your browser |
54
+ | [`agents pull`](https://docs.base44.com/developers/references/cli/commands/agents-pull) | Pull agents from Base44 to local files (replaces all local agent configs) |
55
+ | [`agents push`](https://docs.base44.com/developers/references/cli/commands/agents-push) | Push local agents to Base44 (replaces all remote agent configs) |
56
+ | [`connectors pull`](https://docs.base44.com/developers/references/cli/commands/connectors-pull) | Pull connectors from Base44 to local files |
57
+ | [`connectors push`](https://docs.base44.com/developers/references/cli/commands/connectors-push) | Push local connectors to Base44 |
55
58
  | [`entities push`](https://docs.base44.com/developers/references/cli/commands/entities-push) | Push local entity schemas to Base44 |
59
+ | [`entities records list`](https://docs.base44.com/developers/references/cli/commands/entities-records) | List entity records |
60
+ | [`entities records get`](https://docs.base44.com/developers/references/cli/commands/entities-records) | Get a single entity record by ID |
61
+ | [`entities records create`](https://docs.base44.com/developers/references/cli/commands/entities-records) | Create a new entity record |
62
+ | [`entities records update`](https://docs.base44.com/developers/references/cli/commands/entities-records) | Update an entity record |
63
+ | [`entities records delete`](https://docs.base44.com/developers/references/cli/commands/entities-records) | Delete an entity record |
56
64
  | [`functions deploy`](https://docs.base44.com/developers/references/cli/commands/functions-deploy) | Deploy local functions to Base44 |
57
65
  | [`site deploy`](https://docs.base44.com/developers/references/cli/commands/site-deploy) | Deploy built site files to Base44 hosting |
58
66
  | [`site open`](https://docs.base44.com/developers/references/cli/commands/site-open) | Open the published site in your browser |
59
-
60
-
61
- <!--| [`eject`](https://docs.base44.com/developers/references/cli/commands/eject) | Create a Base44 backend project from an existing Base44 app | -->
67
+ | [`types generate`](https://docs.base44.com/developers/references/cli/commands/types-generate) | Generate TypeScript declaration file from project resources |
62
68
 
63
69
  ## AI agent skills
64
70
 
package/dist/cli/index.js CHANGED
@@ -194732,7 +194732,8 @@ async function createRecordAction(entityName, options) {
194732
194732
  errorMessage: `Failed to create ${entityName} record`
194733
194733
  });
194734
194734
  M2.success(`Record created with ID: ${record2.id}`);
194735
- console.log(JSON.stringify(record2, null, 2));
194735
+ process.stdout.write(`${JSON.stringify(record2, null, 2)}
194736
+ `);
194736
194737
  return {};
194737
194738
  }
194738
194739
  function getRecordsCreateCommand(context) {
@@ -194774,7 +194775,8 @@ async function getRecordAction(entityName, recordId) {
194774
194775
  successMessage: `Fetched ${entityName} record`,
194775
194776
  errorMessage: `Failed to fetch ${entityName} record`
194776
194777
  });
194777
- console.log(JSON.stringify(record2, null, 2));
194778
+ process.stdout.write(`${JSON.stringify(record2, null, 2)}
194779
+ `);
194778
194780
  return {};
194779
194781
  }
194780
194782
  function getRecordsGetCommand(context) {
@@ -194798,7 +194800,8 @@ async function listRecordsAction(entityName, options) {
194798
194800
  errorMessage: `Failed to fetch ${entityName} records`
194799
194801
  });
194800
194802
  M2.info(`Found ${records.length} record(s)`);
194801
- console.log(JSON.stringify(records, null, 2));
194803
+ process.stdout.write(`${JSON.stringify(records, null, 2)}
194804
+ `);
194802
194805
  return {};
194803
194806
  }
194804
194807
  function getRecordsListCommand(context) {
@@ -194848,7 +194851,8 @@ async function updateRecordAction(entityName, recordId, options) {
194848
194851
  errorMessage: `Failed to update ${entityName} record`
194849
194852
  });
194850
194853
  M2.success(`Record ${recordId} updated`);
194851
- console.log(JSON.stringify(record2, null, 2));
194854
+ process.stdout.write(`${JSON.stringify(record2, null, 2)}
194855
+ `);
194852
194856
  return {};
194853
194857
  }
194854
194858
  function getRecordsUpdateCommand(context) {
@@ -200046,4 +200050,4 @@ export {
200046
200050
  CLIExitError
200047
200051
  };
200048
200052
 
200049
- //# debugId=7988BF189BA90B3464756E2164756E21
200053
+ //# debugId=AEA98F588610665D64756E2164756E21