@base44-preview/cli 0.0.3-pr.28.9b60b50 → 0.0.3-pr.42.4a0c2e0
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/dist/cli/index.js +0 -17
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -18728,22 +18728,6 @@ const logoutCommand = new Command("logout").description("Logout from current dev
|
|
|
18728
18728
|
await runCommand(logout, { requireAuth: true });
|
|
18729
18729
|
});
|
|
18730
18730
|
|
|
18731
|
-
//#endregion
|
|
18732
|
-
//#region src/cli/commands/project/show-project.ts
|
|
18733
|
-
async function showProject() {
|
|
18734
|
-
const projectData = await runTask("Reading project configuration", async () => {
|
|
18735
|
-
return await readProjectConfig();
|
|
18736
|
-
}, {
|
|
18737
|
-
successMessage: "Project configuration loaded",
|
|
18738
|
-
errorMessage: "Failed to load project configuration"
|
|
18739
|
-
});
|
|
18740
|
-
const jsonOutput = JSON.stringify(projectData, null, 2);
|
|
18741
|
-
M.info(jsonOutput);
|
|
18742
|
-
}
|
|
18743
|
-
const showProjectCommand = new Command("show-project").description("Display project configuration, entities, and functions").action(async () => {
|
|
18744
|
-
await runCommand(showProject);
|
|
18745
|
-
});
|
|
18746
|
-
|
|
18747
18731
|
//#endregion
|
|
18748
18732
|
//#region src/cli/commands/entities/push.ts
|
|
18749
18733
|
async function pushEntitiesAction() {
|
|
@@ -19344,7 +19328,6 @@ program.addCommand(loginCommand);
|
|
|
19344
19328
|
program.addCommand(whoamiCommand);
|
|
19345
19329
|
program.addCommand(logoutCommand);
|
|
19346
19330
|
program.addCommand(createCommand);
|
|
19347
|
-
program.addCommand(showProjectCommand);
|
|
19348
19331
|
program.addCommand(entitiesPushCommand);
|
|
19349
19332
|
program.parse();
|
|
19350
19333
|
|
package/package.json
CHANGED