Skip to content

A command line tool that allows you to save, list and run the frequently used CLI commands.

License

Notifications You must be signed in to change notification settings

EngincanV/jonturk-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JonTurk CLI

JonTurk CLI on Nuget

A command line tool that allows you to save, list, and run the frequently used CLI commands. It's a dotnet tool and can be accessed via jonturk CLI command after you follow the installation instructions below.

Love the JonTurk CLI? Then, please give a star(⭐)! If you find any bug or want to have additional features, don't hesitate to create an issue. Thanks in advance!

Installation

You can install the CLI tool by running the following command:

dotnet tool install --global JonTurkCli

Usage

You can execute the jonturk --help command in the terminal to list all commands with their possible options:

jonturk --help

Here is an example usage of list and run commands:

Commands

The following commands are currently available:

Save Command

Saves the related command with the name and creates a PowerShell script for the command (under the %USERPROFILE%/.jonturk/script path):

jonturk save -n "cache-clear" -c "dotnet nuget locals all --clear" 
  • -n | --name (Name of the command)
  • -c | --command (Command (with arguments))

List Command

Lists the saved commands in a table view:

jonturk list

Run Command

Runs the specified command:

jonturk run -n "cache-clear"
  • -n | --name (Name of the command)
  • -p | --path (The working directory where the command will be run.)

Remove Command

Removes the specified command from the saved commands:

jonturk remove -n "cache-clear"
  • -n | --name (Name of the command)

Want to Contribute?

See the contribution guide if you want to contribute to this project.