treescript-diff


Nametreescript-diff JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/DK96-OS/treescript-diff
SummaryDetermines the difference between two TreeScript files.
upload_time2024-12-24 18:28:10
maintainerNone
docs_urlNone
authorDK96-OS
requires_python>=3.10
licenseGPLv3
keywords treescript
VCS
bugtrack_url
requirements treescript-files
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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.

```bash
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`

```bash
treescript-diff -a <file1> <file2>
```

### Removals Only
To print only removed files.

Use the option: `--removed` or `-r`

```bash
treescript-diff -r <file1> <file2>
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DK96-OS/treescript-diff",
    "name": "treescript-diff",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "treescript",
    "author": "DK96-OS",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/77/dc/082ad01687dfce5c8ae6d10ae9529ba79fe5172997852ca34d1cb77b07e8/treescript_diff-0.1.1.tar.gz",
    "platform": null,
    "description": "# TreeScript Diff\nQuickly, find the differences between two TreeScript files!\n\n## Introduction\nA Command Line app for comparing TreeScript files, similar to `git diff`.\n- Both files must be correctly formatted TreeScript\n- Diff output options are provided\n\n## Usage\nThis package expects two input files, both must be valid TreeScript.\n\n```bash\ntreescript-diff [options] <file1> <file2>\n```\n\nThe first file is considered the original, the second file is updated TreeScript.\n\nThe program \n\n### Default Diff Output\nThe program will return the additions and removals in this structure:\n1. newly added files separated by newline character\n2. blank line\n3. removed files separated by newline character\n\n### Additions Only\nTo print only added files.\n\nUse the option: `--added` or `-a`\n\n```bash\ntreescript-diff -a <file1> <file2>\n```\n\n### Removals Only\nTo print only removed files.\n\nUse the option: `--removed` or `-r`\n\n```bash\ntreescript-diff -r <file1> <file2>\n```\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "Determines the difference between two TreeScript files.",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/DK96-OS/treescript-diff",
        "Issues": "https://github.com/DK96-OS/treescript-diff/issues",
        "Source Code": "https://github.com/DK96-OS/treescript-diff"
    },
    "split_keywords": [
        "treescript"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3cc9a3e914d5b80e296725c4d4c9faa4f430f6b8567a8ef7056781ccfad822f1",
                "md5": "d64c7ea106b0273fd5017229aba08030",
                "sha256": "32f62ef6b41d259f6d58d253ebde424dfa16ddebad8c1e0107012215b9e97dd1"
            },
            "downloads": -1,
            "filename": "treescript_diff-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d64c7ea106b0273fd5017229aba08030",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 20001,
            "upload_time": "2024-12-24T18:28:08",
            "upload_time_iso_8601": "2024-12-24T18:28:08.116448Z",
            "url": "https://files.pythonhosted.org/packages/3c/c9/a3e914d5b80e296725c4d4c9faa4f430f6b8567a8ef7056781ccfad822f1/treescript_diff-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "77dc082ad01687dfce5c8ae6d10ae9529ba79fe5172997852ca34d1cb77b07e8",
                "md5": "d4326e0bdb148ea33524fdfdcdd26d5d",
                "sha256": "f3aa8dfc073ffaa3b043da4780f1b390ff2ad2e239b34686ad12fbb465da7f73"
            },
            "downloads": -1,
            "filename": "treescript_diff-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d4326e0bdb148ea33524fdfdcdd26d5d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 18845,
            "upload_time": "2024-12-24T18:28:10",
            "upload_time_iso_8601": "2024-12-24T18:28:10.518915Z",
            "url": "https://files.pythonhosted.org/packages/77/dc/082ad01687dfce5c8ae6d10ae9529ba79fe5172997852ca34d1cb77b07e8/treescript_diff-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-24 18:28:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DK96-OS",
    "github_project": "treescript-diff",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "treescript-files",
            "specs": [
                [
                    "~=",
                    "0.2.1"
                ]
            ]
        }
    ],
    "lcname": "treescript-diff"
}
        
Elapsed time: 0.62822s