Skip to content

MatrTech/quickpath

Repository files navigation

qp or quickpath is a small cli project that I created in powershell and later also in bash to help me navigating my system more quickly. By using it instead of cd and accepting aliases to navigate based on those aliases.

codecov

Installation

Install-Module quickpath

Usage

qp [commands] [sub-commands]|[arguments]

Aliases

An alias is added by passing it to the alias add command and passing a json object to it like:

qp alias add '{"aliases": ["<myalias>"], "windowsPath": "the\\path\\to\\my\\alias" }'
qp alias add [alias] [path]

Testing

For some of the logic I created unit tests. For powershell I use Pester. Pester is installed using the following:

Install-Module Pester -Force

And is the unit tests are run by using the following commands:

Invoke-Pester
Invoke-Pester qp-path.Tests.ps1
Invoke-Pester -Output Detailed .\qp-path.Tests.ps1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors