Skip to content

Getting Started

Installation

Prerequisites

At the moment we only support C#, python support is planned for the near future.

You need to have .NET8.0 runtime installed on your machine. You can install it here

Install

You can install our CLI using the following command :

pip install cdot

Creating your first graph

To test out the tech, you can first download our simple test repo :

git clone git@github.com:ChangingDot/ChangingLevels.git

Our CLI takes as input a path to a configuration file. In this readme we use a very simple change with config file stored in a CDN.

Make sure you are in the ChangingLevels repo and run :

cdot run create https://rawcdn.githack.com/ChangingDot/ChangingBack/main/examples/example.yaml

Visualizing your graph

You can then visualize the created graph by running this command :

cdot run visualize https://rawcdn.githack.com/ChangingDot/ChangingBack/main/examples/example.yaml

Committing the changes

A longer term goal of ChangingDot is to automate actual refactorings and therefore actually change the code. You can actually test this out using the following command.

cdot run commit https://rawcdn.githack.com/ChangingDot/ChangingBack/main/examples/example.yaml