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


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.3.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

treescript_diff-0.1.3-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: treescript_diff-0.1.3.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for treescript_diff-0.1.3.tar.gz
Algorithm Hash digest
SHA256 915fdc485ef1a85175cd4dfb35f487b9f5975fad0b47882b39efa39994aeff84
MD5 e862ce00f3e0f571864e8b362400d660
BLAKE2b-256 47dee24758203906910aab7c1417f0ccf89cb02c1159d66e2538fbd2968a5b80

See more details on using hashes here.

Provenance

The following attestation bundles were made for treescript_diff-0.1.3.tar.gz:

Publisher: publish.yml on DK96-OS/treescript-diff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for treescript_diff-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 02c093fba6579f7de584d5b631bef143334b99ec2eae38393aa052ac19340201
MD5 1c83fcadcb94a6ba0808f95be6f35475
BLAKE2b-256 3fdd87747ea834bd4e32130356ba1ff82fc956816edef0286c38def529cb9e5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for treescript_diff-0.1.3-py3-none-any.whl:

Publisher: publish.yml on DK96-OS/treescript-diff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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