Skip to content
A PowerShell module that enables software developers to speed up their CLI workflow.
PowerShell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_build CI/CD yo Jun 25, 2019
modules/devtoolbox
resources CI/CD Jun 25, 2019
.all-contributorsrc
CHANGELOG.md Updating CHANGELOG.md Jun 26, 2019
CODE_OF_CONDUCT.md Updating CODE_OF_CONDUCT May 20, 2019
CONTRIBUTING.md
LICENSE
README.md Removed extra commands and combined into one Jun 27, 2019
azure-pipelines.yml

README.md

Release vNext Contributors Downloads
Build Status Build Status All Contributors Downloads

For more information as to how this repo came about, check out this blog post

Parameters

All aliases accept parameters of the commands they call.

For example, the below are identical:

g cl https://github.com/MichaelJolley/devtoolbox.git

git clone https://github.com/MichaelJolley/devtoolbox.git

Commands

Docker

All aliases for Docker begin with d.

Command Executes
d b docker build
d c docker container ps
d cr docker container rm
d cs docker container start
d cx docker container stop
d i docker image ls
d ir docker image rm
d k docker kill
d l docker logs
d li docker login
d lo docker logout
d r docker run
d t docker image tag
d p docker push
d ... docker ...(any parameters)

Docker-Compose

All aliases for Docker Compose begin with dc.

Command Executes
dc b docker-compose build
dc bu docker-compose build (params); docker-compose up
dc d docker-compose down
dc i docker-compose images
dc u docker-compose up
dc ... docker-compose ... (any parameters)

Git

All aliases for Git begin with g.

Command Executes
g a git add
g b git branch
g c git checkout
g cl git clone
g co git commit
g f git fetch
g i git init
g l git log
g ll git log --graph (pretty)
g m git merge
g pl git pull
g ps git push
g r git rebase
g rs git reset
g s git status
g t git tag
g ... git ... (any parameters)

Miscellaneous

Command Executes
gh Launches browser to GitHub repo if the directory is tracked by Git and its origin url is at GitHub
hosts If in Windows, opens the hosts file in an elevated editor. Choosing, in order, between VS Code, VS Code (insiders), Notepad.
reload Restarts PowerShell in-place. Useful in the event you have added something to the path or user profile script and need a powershell restart in order for it to be recognized.
Restore-WorkspacePackages (rwp) Restores NPM, Nuget, and Libman packages starting at the root folder of a workspace.
Syntax Prints PowerShell Command Syntax vertically, replicating docs.microsoft.com layout
Sort-Reverse Reverses the order of an array. Accepts pipeline support e.g. `1,2,3,4,5
p <dirname> Changes your current directory to the directory of the project you provide. It will search the root directory (or the current directory if no root directory is set in the environment variables) recursively for the project directory you provided.

Contributing

Want to contribute? Check out our Code of Conduct and Contributing docs. This project follows the all-contributors specification. Contributions of any kind welcome!

Thanks goes to these wonderful people (emoji key):

Michael Jolley
Michael Jolley

💻 🤔 📖
Ryan Hayes
Ryan Hayes

💻 🤔 📖
Anthony Conrad
Anthony Conrad

💻 🤔 📖
Brett Miller
Brett Miller

💻 🤔 📖
corbob
corbob

🤔 💻
Chris Jones
Chris Jones

📖
Wayne Taylor
Wayne Taylor

💻 📖
You can’t perform that action at this time.