Skip to content

bgold09/cnct-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cnct

Install your dotfiles, no matter what platform you're on.

Build Status

Branch
develop Build status
main Build status

Overview

Cnct is a cross-platform command-line tool that aims to make bootstrapping your developer environment easier. This is accomplished by providing a set of common operations (e.g. creating symlinks) that can be expressed in a simple configuration.

Installation

Create a personal access token (PAT) that has the read:packages scope.

# When prompted, enter the PAT you created as the password
$c = Get-Credential -UserName "<your GitHub username>"

dotnet nuget add source --name github-bgold09 "https://nuget.pkg.github.com/bgold09/index.json" `
  --username $c.UserName --password $c.GetNetworkCredential().Password

dotnet tool install --global cnct

Configuration file

The configuration file is how you express the steps that cnct should perform. The configuration is an array of steps that will be completed in order. For the full schema of a cnct configuration file, see the schema for the cnct version you are using.

Usage

The simplest way to run your setup as specified in the configuration file is to run cnct from the directory that contains your cnct.json file:

cd ~/.dotfiles
cnct

You can also explicitly point to the location of your config:

cnct -c ~/.dotfiles/cnct.json

Thanks and Credit for Inspiration

Releases

No releases published

Packages

 
 
 

Languages