explainthisrepo 0.1.7 → 0.1.9

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/cli.js +4 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -4,11 +4,12 @@ import process from "node:process";
4
4
  import { readFileSync } from "node:fs";
5
5
  import path from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
- import { fetchRepo, fetchReadme, fetchLanguages } from "./github.js";
7
+ import { fetchRepo, fetchReadme } from "./github.js";
8
8
  import { buildPrompt, buildSimplePrompt } from "./prompt.js";
9
9
  import { generateExplanation } from "./generate.js";
10
10
  import { writeOutput } from "./writer.js";
11
11
  import { readRepoSignalFiles } from "./repo_reader.js";
12
+ import { fetchLanguages } from "./github.js";
12
13
  import { detectStack } from "./stack-detector.js";
13
14
  import { printStack } from "./stack_printer.js";
14
15
  function usage() {
@@ -104,6 +105,8 @@ async function main() {
104
105
  quick = true;
105
106
  else if (args[1] === "--simple")
106
107
  simple = true;
108
+ else if (args[1] === "--stack")
109
+ stack = true;
107
110
  else {
108
111
  usage();
109
112
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "explainthisrepo",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "ExplainThisRepo is a CLI developer tool to explain any GitHub repository in plain English",
5
5
  "license": "MIT",
6
6
  "type": "module",