Skip to main content

Determines the difference between two TreeScript files.

Project description

TreeScript Diff

Quickly, find the differences between two TreeScript files!

Introduction

A Command Line app for comparing TreeScript files, similar to git diff.

  • Both files must be correctly formatted TreeScript
  • Diff output options are provided

Usage

This package expects two input files, both must be valid TreeScript.

treescript-diff [options] <file1> <file2>

The first file is considered the original, the second file is updated TreeScript.

The program

Default Diff Output

The program will return the additions and removals in this structure:

  1. newly added files separated by newline character
  2. blank line
  3. removed files separated by newline character

Additions Only

To print only added files.

Use the option: --added or -a

treescript-diff -a <file1> <file2>

Removals Only

To print only removed files.

Use the option: --removed or -r

treescript-diff -r <file1> <file2>

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treescript_diff-0.1.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

treescript_diff-0.1-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file treescript_diff-0.1.tar.gz.

File metadata

  • Download URL: treescript_diff-0.1.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for treescript_diff-0.1.tar.gz
Algorithm Hash digest
SHA256 f1bfcb67084b1e5b5cb4a05bff71ce08b48f2cf46caf8f6a17ac7d3593cc430a
MD5 93c89789e78d8b9cfecdbd94124b8e32
BLAKE2b-256 aee649c8b18d8a4b95068f03be08619896659e6dd0016ceed99abe39d6b08914

See more details on using hashes here.

File details

Details for the file treescript_diff-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for treescript_diff-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e70978c0432a3032e1be9a16e65eb5e66ad48356e036fe71074fe0d4c140018
MD5 75174e9c0cf87ba5486d871c66a8cf01
BLAKE2b-256 cd4d1dbd674508b7914fc5a8a0ae4864782d5016a0611f1ee2a04e9219eeffe9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page