1.2.2 • Published 10 months ago

explain-files v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Explain Files

Tiny CLI utility to use OpenAI's GPT to explain code

Usage

# basic
$ npx explain-files@latest

# skip the file selector
$ npx explain-files@latest spaghetti.js

# only show .ts and .tsx files in the file selector
$ npx explain-files@latest --ext ts --ext tsx

Options

-h, --help              Shows this help message
-v, --version           Shows the version number
-e, --ext               Only consider files with the given extension
-f, --filter            Only consider files that include the given string
--cwd                   The directory to run in (defaults to ./)
-m, --model             The model to use
-t, --temperature       The temperature to use
-p, --prompt            The prompt to use
-mt, --max-tokens       The maximum number of tokens to use
-r, --reset-key         Resets the OpenAI API key by deleting ~/.explain-config

License

MIT

1.2.2

10 months ago

1.2.1

11 months ago

1.2.0

11 months ago

1.1.6

11 months ago

1.1.5

11 months ago

1.1.4

11 months ago

1.1.3

11 months ago

1.1.2

11 months ago

1.1.0

11 months ago

1.0.0

11 months ago