Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/engincanv/jonturk-cli

A command line tool that allows you to save, list and run the frequently used CLI commands.
https://github.com/engincanv/jonturk-cli

cli dotnet dotnet-tool

Last synced: 23 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:

```bash
dotnet tool install --global JonTurkCli
```

## Usage

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

```bash
jonturk --help
```

Here is an example usage of `list` and `run` commands:

![](/assets/jonturk-cli.gif)

## 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):

```bash
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:

```bash
jonturk list
```

### Run Command

Runs the specified command:

```bash
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:

```bash
jonturk remove -n "cache-clear"
```

* **-n | --name** (Name of the command)

## Want to Contribute?

See [the contribution guide](CONTRIBUTING.md) if you want to contribute to this project.