Ask AI for help you in your terminal.
Project description
Needto
Needto have an AI assistant in your command line?
needto
is an AI-powered assistant for the command line, designed to help you with various tasks such as finding and running commands, answering questions by analyzing command outputs, and writing code snippets. It suggests solutions and makes it easy to apply them in your environment. With needto
, you can select and run recommended commands safely.
Installation
To install needto
, use pipx
:
pipx install needto
Configuration
After installation, configure needto
by running:
needto config
Needto leverages Groq
to run Meta's Llama3 language models. To get started, you'll need a Groq API key (Groq).
Usage
1. Find and Run a Command
Use needto do
to find and run commands effortlessly. Simply describe what you need to do, and needto
will provide a list of CLI commands for you to choose from. You can then edit the command further if necessary before executing it.
Example:
needto do "kill process on port 8000"
2. Ask Questions
Ask needto ask
questions about your system. It will help you find answers by suggesting commands to explore and analyzing the outputs of those commands. Note that, in this case, needto
will prioritize safety and avoid recommending commands that could modify your system state. You always remain in full control of what gets executed on your computer.
Example:
needto ask "how many programs I have installed on my system?"
3. Write Code
Use needto write
to generate code snippets. Describe the code you need, and needto
will provide it along with necessary clarifications.
Example:
needto write "a python script that gets my public IP"
License
needto
is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file needto-0.1.3.tar.gz
.
File metadata
- Download URL: needto-0.1.3.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed493a7b75b8ec1a8891896bed8740a49b5b2d7b0f713f2afdcbc0954e8d9857 |
|
MD5 | cff2c15706263f861de2e042d3a309f5 |
|
BLAKE2b-256 | 3bbd2d0bb778be6211fbad557b8007caed8370f2fcc889e5388e80b98057eb63 |
File details
Details for the file needto-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: needto-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d90e9acaabb689e4769140766bcce949788c811b028ecfbcf434a558dd705736 |
|
MD5 | 794f38e4197b49f07ba480c566cfcd01 |
|
BLAKE2b-256 | cd94ef65d186c4321bf85ae5f63497ab41878db91b8400837280eca67eb2da9d |