Gathering detailed insights and metrics for asktocmd
Gathering detailed insights and metrics for asktocmd
Gathering detailed insights and metrics for asktocmd
Gathering detailed insights and metrics for asktocmd
npm install asktocmd
Typescript
Module System
Min. Node Version
Node Version
NPM Version
50.4
Supply Chain
95.8
Quality
82.7
Maintenance
100
Vulnerability
99.6
License
Updated on 25 Oct 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
0%
Compared to previous day
Last week
200%
Compared to previous week
Last month
-83.2%
Compared to previous month
Last year
0%
Compared to previous year
1
Did you forget your command-line commands? Don't worry! Now you can directly ask asktocmd, your AI-powered CLI helper. Ask about any command, operation, or CLI-related query, and get instant, intelligent responses powered by Google's Gemini AI.
1# Install globally 2npm install -g asktocmd 3 4# Set up your API key (get it from https://aistudio.google.com/app/apikey) 5asktocmd set-api-key YOUR_GEMINI_API_KEY 6 7# Start asking questions! 8asktocmd "How do I list all files in a directory?"
To install asktocmd globally:
1npm install -g asktocmd
Verify the installation:
1asktocmd --version
asktocmd requires a Gemini API key to function. Here's how to get started:
Get your API key:
Set up the key using one of these methods:
a. Using the CLI command (recommended):
1asktocmd set-api-key YOUR_GEMINI_API_KEY
b. Manual configuration:
~/.asktocmd-config.json
asktocmd offers two modes of operation:
Perfect for quick, one-off questions:
1# Basic usage 2asktocmd "How do I find the largest files in a directory?" 3 4# Complex queries 5asktocmd "How do I use grep to search for multiple patterns?"
Great for multiple questions or learning sessions:
1asktocmd -i
This starts an interactive session where you can:
1# File operations 2asktocmd "How do I recursively search for files?" 3 4# Process management 5asktocmd "How do I kill a process using a specific port?" 6 7# System information 8asktocmd "How can I check system resource usage?"
1# Get help 2asktocmd --help 3 4# Check version 5asktocmd --version 6 7# Update API key 8asktocmd set-api-key NEW_API_KEY
Contributions are welcome! Here's how you can help:
git checkout -b feature/new-feature
git commit -am 'Add new feature'
git push origin feature/new-feature
Found a bug? Please report it on our issues page with:
This project is licensed under the MIT License - see the LICENSE file for details.
Pranav
If you find asktocmd helpful:
Happy command-line querying! 🎉
No vulnerabilities found.
No security vulnerabilities found.