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.2.tar.gz (19.8 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.2-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: treescript_diff-0.1.2.tar.gz
  • Upload date:
  • Size: 19.8 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.2.tar.gz
Algorithm Hash digest
SHA256 dedcea8952aa7a67b651f8ff6d75b89782f97908068bd2e37389bbdd8e74fcf6
MD5 83c16df28d41a6c895934cec89f34b6d
BLAKE2b-256 ebb89699e6680fcf0c61f6d4bcc0a8529e7f5d777861fa9598d3e0deb9b4cc9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for treescript_diff-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 613d57ac457becd8ac6724230c2b2e0c21919c6560b244f13e7044544dd550f0
MD5 2ead047bae77b84228b4d8a4fe594260
BLAKE2b-256 d85bad0a0fa15e97247ad5c18efe685f7244d0e1e394a370996ed84a66a29407

See more details on using hashes here.

Provenance

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