Skip to content
View chris-peterson's full-sized avatar

Block or report chris-peterson

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
chris-peterson/README.md

Overview

👋 Hi, I'm Chris. I've been writing software for the last couple of decades.

Lately, I've been working on pwsh-gitlab, a PowerShell wrapper around GitLab API.

The GitlabCli module is used to perform tasks that would otherwise be difficult/tedious (e.g. cloning all the projects in a group). My favorite part of using this module is that it has implicit context based on your working directory making it easy to jump back and forth between local code artifacts and remote API resources. You can invoke APIs, or simply pipe any object to | go to navigate to the Web UI, e.g. mr | go brings you to the Merge Request UI for your current branch.

Give it a try here.

Active Projects

  • Assurance - a library to boost confidence when making code changes.
  • Kekiri - a testing framework for writing low-ceremony BDD tests using Gherkin language.
  • Spiffy - a battle-tested observability framework for logs and metrics.

Other

When I'm not writing code, I try my best to be a good human 🤷

Pinned Loading

  1. pwsh-gitlab pwsh-gitlab Public

    PowerShell module for GitLab

    PowerShell 22 11

  2. kekiri kekiri Public

    A .NET framework that supports writing low-ceremony BDD tests using Gherkin language

    C# 20 15

  3. spiffy spiffy Public

    A structured logging framework for .NET that supports log aggregation, e.g. Splunk

    C# 9 6

  4. assurance assurance Public

    A library to boost confidence when making code changes

    C# 4 1

  5. how-I-use-git.md how-I-use-git.md
    1
    # How I Use Git
    2
    
                  
    3
    This is not meant to be prescriptive, this is just how _I_ use `git`.  Sharing in case others find it useful.
    4
    
                  
    5
    ## Branch Early
  6. quickly jump from terminal to web ui quickly jump from terminal to web ui
    1
    if git rev-parse --is-inside-work-tree 2>/dev/null; then
    2
      open "https://$(echo $(git remote get-url origin | sed 's/git@//' | sed 's/\.git//' | sed 's/:/\//'))"
    3
    else
    4
      echo "'$PWD' is not a git repo"
    5
    fi > /dev/null