ask4me

command module
v0.0.0-...-cf1900d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

README

ask4me

generate description of source file content and directory for AI Chat

How to use

  1. Install ask4me with go install github.com/airylinus/ask4me@latest
  2. Create a new directory at home directory with name ".ask4me"
  3. Copy examples/prompts.yaml to.ask4me directory, and edit it to fit your needs.
  4. Run the following command in terminal:
ask4me pyqt5-ui-fix

Further more

You may want to use this tool by keyboard shortcut, for me at Windows 11 system I use AHK (AutoHotkey) for convenience. Here's the code:

#Requires AutoHotkey v2.0

; blow here is ctrl+j to run `ask4me client2-ui-fix`
^j::
{
    ppressed := KeyWait("c", "DT0.2")
    if (ppressed = 0) ; "c" pressed in 0.2 seconds
    {
        Run A_ComSpec " /c ask4me client2-ui-fix" ; change this line to fit your need
    }
}

Save as shutcut-ask4me.ahk and run it with ahk, pres Ctrl + j + c will trigger the prompt genration. Then you can paste to anywhere you want.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL