New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@draftbook/smart

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@draftbook/smart

Smart-CLI is a simple command-line tool that uses OpenAI's GPT language model to recommend commands based on user input.

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

Smart-CLI

Smart-CLI is a simple command-line tool that uses OpenAI's GPT language model to recommend commands based on user input.

Inspiration Source: https://githubnext.com/projects/copilot-cli

Installation

You can install Smart-CLI using npm:

npm install -g @draftbook/smart

Usage

To use Smart-CLI, simply type smart followed by a sentence describing what you want to do:

smart "list js files"

Smart-CLI will use OpenAI's GPT language model to recommend a command based on your input, and will prompt you to confirm whether you want to execute the command.

Options

Smart-CLI supports the following options:

  • u, --url <url>: Set the OpenAI API base URL
  • k, --key <key>: Set the OpenAI API key

If you provide the --url or --key option, Smart-CLI will use the specified URL or API key when making requests to OpenAI's API.

License

Smart-CLI is released under the MIT License

FAQs

Package last updated on 23 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts