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.4.tar.gz
.
File metadata
- Download URL: needto-0.1.4.tar.gz
- Upload date:
- Size: 7.7 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 | 9d8e65c7bfe6fd2dd95f9927a38396a05737c404495bc438fbd436697a88accb |
|
MD5 | 4d186f3cfd84e33e23222e9f8d0789c4 |
|
BLAKE2b-256 | 67d1fa4be33bd9da1b7f29a4487e3b06339cc28ac4903eae089691b3a9fdc797 |
File details
Details for the file needto-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: needto-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.5 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 | e7edd426cb6fe915ce939f0284e36075fcd2caade9e22ff1cd4c1d666577c727 |
|
MD5 | 131a167f3c60a7fd0aeb6bd44e1d2679 |
|
BLAKE2b-256 | 066940c942dcb5912f3bcbcc84bbe8fab110c03e874b8301b2d409aa66dc6f20 |