Skip to content
/ qwk Public

qwk (Quick) is a lightweight CLI automation and execution tool that simplifies running complex and repetitive commands.

Notifications You must be signed in to change notification settings

drew-mcl/qwk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                                    
                               ,-.  
  ,----.                   ,--/ /|                                          
 /   /  \-.         .---.,--. :/ |  
|   :    :|        /. ./|:  : ' /   
|   | .\  .     .-'-. ' ||  '  /    
.   ; |:  |    /___/ \: |'  |  :                          absolutely rapid
'   .  \  | .-'.. '   ' .|  |   \   
 \   `.   |/___/ \:     ''  : |. \  
  `--'""| |.   \  ' .\   |  | ' \ \ 
    |   | | \   \   ' \ |'  : |--'  
    |   | :  \   \  |--" ;  |,'     
    `---'.|   \   \ |    '--'       
      `---`    '---"                                                    

qwk ( Quick ) CLI Tool

Making everything you do - absolutely rapid.

qwk (Quick) is a lightweight CLI automation and execution tool that simplifies running complex and repetitive commands. With an easy-to-use 'qwkfile', you can define your own custom commands, substitute arguments, and even chain multiple commands together. qwk offers a flexible and convenient way to manage your command-line tasks.

Features

  • Define custom commands using an intuitive and simple syntax in a qwkfile
  • Run custom commands via the command line with qwk [command]
  • Define global variables in the qwkfile or make use of positional arguments and messages in cli execution
  • Chain multiple commands together for complex and repetitive tasks

Installation

To install Qwk, you can instal the executable from the releases or build it from source. For the later, you need to have Go installed on your machine. Clone the Qwk repository and build the binary:

git clone https://github.com/drew-mcl/qwk.git
cd qwk
go build -o qwk

After building the binary, you can move it to your desired location and add it to your PATH.

Usage

qwkfile

Create a file named qwkfile in your working directory. This file will hold the custom commands you intend to use in your current directory. The structure of the file should follow this format:

TODO

TODO: explain syntax

Exmaple qwkfile

TODO

Running Commands

To run a custom command, simply type qwk followed by the command name and any arguments:

qwk greet Bigman wonderful

This command will output:

Hello, Bigman! Today is a wonderful day.

If you don't provide the arguments, the command will use their default values:

qwk greet

This command will output:

Hello, Stranger! Today is a great day.

About

qwk (Quick) is a lightweight CLI automation and execution tool that simplifies running complex and repetitive commands.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published