Get answers for CLI commands from GPT3 right from your terminal
Go to file
dependabot[bot] 6a93215077
chore(dev-deps): update shx requirement from ^0.3.3 to ^0.3.4
Updates the requirements on [shx](https://github.com/shelljs/shx) to permit the latest version.
- [Release notes](https://github.com/shelljs/shx/releases)
- [Changelog](https://github.com/shelljs/shx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shx/compare/v0.3.3...v0.3.4)

---
updated-dependencies:
- dependency-name: shx
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 19:59:08 +00:00
.github feat: add gpt3 2022-11-07 09:50:04 +05:30
.vscode feat: add gpt3 2022-11-07 09:50:04 +05:30
bin feat: add gpt3 2022-11-07 09:50:04 +05:30
src feat: moved to commands & taking OPENAI API Key 2022-11-16 00:17:23 +05:30
.editorconfig feat: add gpt3 2022-11-07 09:50:04 +05:30
.eslintignore feat: add gpt3 2022-11-07 09:50:04 +05:30
.eslintrc feat: add gpt3 2022-11-07 09:50:04 +05:30
.gitignore feat: add gpt3 2022-11-07 09:50:04 +05:30
.mocharc.json feat: add gpt3 2022-11-07 09:50:04 +05:30
LICENSE refactor: 🛠️ add publishConfig & license 2022-11-16 01:22:21 +05:30
package.json chore(dev-deps): update shx requirement from ^0.3.3 to ^0.3.4 2022-11-15 19:59:08 +00:00
README.md 0.0.1-0 2022-11-16 01:23:24 +05:30
tsconfig.json feat: add gpt3 2022-11-07 09:50:04 +05:30

GPT3 Powered CLI

Get answers from GPT3 right from your terminal.

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g @abhagsain/ai-cli
$ ai COMMAND
running command...
$ ai (--version)
@abhagsain/ai-cli/0.0.1-0 darwin-x64 node-v14.18.3
$ ai --help [COMMAND]
USAGE
  $ ai COMMAND
...

Commands

ai ask [question]

Get answers from GPT3 right from your terminal

USAGE
  $ ai ask [question]

ARGUMENTS
  QUESTION  Your question

DESCRIPTION
  Get answers from GPT3 right from your terminal

EXAMPLES
  $ ai ask "Check running process on port 3000"

See code: dist/commands/ask.ts

ai auth

Add existing or new OpenAI API Key

USAGE
  $ ai auth

DESCRIPTION
  Add existing or new OpenAI API Key

EXAMPLES
  $ ai auth (Follow the prompt)

See code: dist/commands/auth.ts

ai help [COMMAND]

Display help for ai.

USAGE
  $ ai help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for ai.

See code: @oclif/plugin-help

ai plugins

List installed plugins.

USAGE
  $ ai plugins [--core]

FLAGS
  --core  Show core plugins.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ ai plugins

See code: @oclif/plugin-plugins

ai plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ ai plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  Plugin to install.

FLAGS
  -f, --force    Run yarn install with force flag.
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Installs a plugin into the CLI.
  Can be installed from npm or a git url.

  Installation of a user-installed plugin will override a core plugin.

  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
  the CLI without the need to patch and update the whole CLI.


ALIASES
  $ ai plugins add

EXAMPLES
  $ ai plugins:install myplugin 

  $ ai plugins:install https://github.com/someuser/someplugin

  $ ai plugins:install someuser/someplugin

ai plugins:inspect PLUGIN...

Displays installation properties of a plugin.

USAGE
  $ ai plugins:inspect PLUGIN...

ARGUMENTS
  PLUGIN  [default: .] Plugin to inspect.

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Displays installation properties of a plugin.

EXAMPLES
  $ ai plugins:inspect myplugin

ai plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ ai plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  Plugin to install.

FLAGS
  -f, --force    Run yarn install with force flag.
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Installs a plugin into the CLI.
  Can be installed from npm or a git url.

  Installation of a user-installed plugin will override a core plugin.

  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
  the CLI without the need to patch and update the whole CLI.


ALIASES
  $ ai plugins add

EXAMPLES
  $ ai plugins:install myplugin 

  $ ai plugins:install https://github.com/someuser/someplugin

  $ ai plugins:install someuser/someplugin

Links a plugin into the CLI for development.

USAGE
  $ ai plugins:link PLUGIN

ARGUMENTS
  PATH  [default: .] path to plugin

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Links a plugin into the CLI for development.
  Installation of a linked plugin will override a user-installed or core plugin.

  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
  command will override the user-installed or core plugin implementation. This is useful for development work.


EXAMPLES
  $ ai plugins:link myplugin

ai plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ ai plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ ai plugins unlink
  $ ai plugins remove

ai plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ ai plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ ai plugins unlink
  $ ai plugins remove

ai plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ ai plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ ai plugins unlink
  $ ai plugins remove

ai plugins update

Update installed plugins.

USAGE
  $ ai plugins update [-h] [-v]

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Update installed plugins.

ai ask [question]

Get answers from GPT3 right from your terminal

USAGE
  $ ai ask [question]

ARGUMENTS
  QUESTION  Your question

DESCRIPTION
  Get answers from GPT3 right from your terminal

EXAMPLES
  $ ai ask "Check running process on port 3000"

See code: dist/commands/ask.ts

ai auth

Add existing or new OpenAI API Key

USAGE
  $ ai auth

DESCRIPTION
  Add existing or new OpenAI API Key

EXAMPLES
  $ ai auth (Follow the prompt)

See code: dist/commands/auth.ts

ai help [COMMAND]

Display help for ai.

USAGE
  $ ai help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for ai.