1.2.2 • Published 2 years ago

explain-files v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago