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.5.tar.gz (19.4 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.5-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: treescript_diff-0.1.5.tar.gz
  • Upload date:
  • Size: 19.4 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.5.tar.gz
Algorithm Hash digest
SHA256 5ec0d9b2c8ac141249419b7b1fe202c0337f9cb778b21521571fff78927dc38d
MD5 f1f7ecb1ddcaa8185b84aad9917919b9
BLAKE2b-256 61c82154bf65feeae36414add7d1465207ff57ce9e8e9f72ab70629dea8cb3c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for treescript_diff-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c11f8cdfa97a35ff58d29d37bed4cbe6debf8d30ca46e9d36fa168f9ffa73402
MD5 9f0fb41c351ba23757b7db41f4da512b
BLAKE2b-256 561b8065bb745214dbbe8141208c0309bb00357e8f98d6962a14b3f02e17b7aa

See more details on using hashes here.

Provenance

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