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.6.tar.gz (19.2 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.6-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for treescript_diff-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5fbe04e851ecf126cc91e743cb13e77f36d821bdf7b34ec4a2186f1426e0dfde
MD5 89e87b824e530b06fedb135f5468c21c
BLAKE2b-256 171ee59ba3c6817ba910dcb83b29d140263bb06cdcecb8675b67d8b0bae0db6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for treescript_diff-0.1.6.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.6-py3-none-any.whl.

File metadata

File hashes

Hashes for treescript_diff-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8757858ee3716e5b2f59a97b6bebd0ab8474ec1bc2fdebac5e7489e8faa23912
MD5 a0cd4f4d73c30f99f65f4e572f1f99bc
BLAKE2b-256 075fbc883216ba26385ab8000949d98ea6605b5e72d8bd29c82c218d71a35df2

See more details on using hashes here.

Provenance

The following attestation bundles were made for treescript_diff-0.1.6-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