Skip to content

Commit

Permalink
delete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil-aexol committed Nov 21, 2023
1 parent ecd61c7 commit 132f22a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 68 deletions.
2 changes: 1 addition & 1 deletion packages/landing-friend-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@landing-friend/core",
"version": "0.0.24",
"version": "0.0.25",
"description": "",
"main": "lib/index.js",
"keywords": [],
Expand Down
4 changes: 2 additions & 2 deletions packages/landing-friend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@landing-friend/cli",
"version": "0.0.24",
"version": "0.0.25",
"description": "",
"type": "module",
"main": "lib/CLI.js",
Expand All @@ -16,7 +16,7 @@
"watch": "ttsc --watch"
},
"dependencies": {
"@landing-friend/core": "^0.0.24",
"@landing-friend/core": "^0.0.25",
"inquirer": "9.2.8",
"node-fetch": "3.3.0",
"yargs": "17.6.0"
Expand Down
65 changes: 0 additions & 65 deletions packages/landing-friend/src/CLI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,37 +61,6 @@ yargs(hideBin(process.argv))
}
}
)
//!!!!!!!
// USE IT INSTEAD OF BELOW COMMAND IF U WANT CONSOLE.LOG SOMETHING
//
// .command(
// "analyze",
// "Analyze your landing page",
// {
// help: {
// describe:
// "Analysis of your website through defined values in the config generates HTML and JSON files.",
// },
// },
// async () => {
// console.clear();
// const config = readConfig("landing-friend-config.ts", "generate");
// if (!config) {
// message("Config not found", "red");
// return;
// }
// try {
// message("Analyzing your page...", "yellow");
// await websiteAnalyzer(config);
// } catch (e) {
// const error = e as Error;
// message(error.message, "red");
// return;
// } finally {
// process.exit();
// }
// }
// )
.command(
"analyze",
"Analyze your landing page",
Expand Down Expand Up @@ -134,40 +103,6 @@ yargs(hideBin(process.argv))
}
}
)
//!!!!!!!
// USE IT INSTEAD OF BELOW COMMAND IF U WANT CONSOLE.LOG SOMETHING
//
// .command(
// "duplicated",
// "Find duplicated content",
// {
// help: {
// describe: "Search the out file to find duplicated content on your site.",
// },
// },
// async () => {
// console.clear();
// const config = readConfig("landing-friend-config.ts", "generate");
// if (!config) {
// message(
// "No config detected. Please create one using init command or create it manually",
// "red"
// );
// return;
// }

// try {
// message("Searching for duplicates...", "yellow");
// await searchDuplicated(config);
// } catch (e) {
// const error = e as Error;
// message(error.message, "red");
// return;
// } finally {
// process.exit();
// }
// }
// )
.command(
"duplicated",
"Find duplicated content",
Expand Down

0 comments on commit 132f22a

Please sign in to comment.