fdio


Namefdio JSON
Version 1.1.2 PyPI version JSON
download
home_pagehttps://github.com/ayoub-aberbach/fdio
SummaryA CLI tool that manages files and directories.
upload_time2025-01-05 22:18:08
maintainerNone
docs_urlNone
authorAyoub A.
requires_python>=3.6
licenseMIT
keywords cli file io
VCS
bugtrack_url
requirements click colorama
Travis-CI No Travis.
coveralls test coverage No coveralls.
            FDIO is a Python command line interface (CLI) tool designed to allow you to manage your files and directories.


## Features:

File Manager CLI Tool.

A command line utility (CLI) for file and directory operations.
Provides commands to: 

- List files.
- Create directories and files.
- Purge files and directories.
- Display file contents.


## Commands:

- List files and directories.

Lists all files and directories in the current directory or specified paths.

Arguments:
paths (tuple of Path): Paths to list. If no paths are provided, lists the contents of the current directory.

Examples:

1- Current path:
    
    flio lfd

2- Add path(s):
    
    flio lfd /path/to/directory-1 /path/to/directory-2 ...


- Create directories.

Creates one or more directories.

Arguments:
path (tuple of Path): Paths to directories to be created. If directories already exist, they are not modified.

Examples:

    flio crd new_directory another_directory ...


- Create files.

Creates one or more files in the current directory or specified path.

Arguments:
filename (tuple of File): Names of files to be created.
path (Path, optional): Custom path where the files will be created. If not provided, files are created in the current directory.

Examples:

1- Current directory:

    flio crf file1.txt file2.txt ...

2- Add a directory path:

    flio crf -p /path/to/directory file1.txt file2.txt ...


- Purge files and directories.

Deletes specified files and directories. Requires user confirmation.

Arguments:
paths (tuple of Path): Paths of files and directories to be deleted.

Examples:

    flio prg file1.txt directory1 ...


- Show file contents.

Displays the content of one or more files.

Arguments:
files (tuple of File): Files to display the contents of.

Examples:

    flio cnt file1.txt file2.txt

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ayoub-aberbach/fdio",
    "name": "fdio",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "cli, file, io",
    "author": "Ayoub A.",
    "author_email": "aberbach.me@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/77/6e/70cd00356007ea997edb2f8d8f6cad0a3e74a363cf5d5aac6978116f2b1d/fdio-1.1.2.tar.gz",
    "platform": null,
    "description": "FDIO is a Python command line interface (CLI) tool designed to allow you to manage your files and directories.\r\n\r\n\r\n## Features:\r\n\r\nFile Manager CLI Tool.\r\n\r\nA command line utility (CLI) for file and directory operations.\r\nProvides commands to: \r\n\r\n- List files.\r\n- Create directories and files.\r\n- Purge files and directories.\r\n- Display file contents.\r\n\r\n\r\n## Commands:\r\n\r\n- List files and directories.\r\n\r\nLists all files and directories in the current directory or specified paths.\r\n\r\nArguments:\r\npaths (tuple of Path): Paths to list. If no paths are provided, lists the contents of the current directory.\r\n\r\nExamples:\r\n\r\n1- Current path:\r\n    \r\n    flio lfd\r\n\r\n2- Add path(s):\r\n    \r\n    flio lfd /path/to/directory-1 /path/to/directory-2 ...\r\n\r\n\r\n- Create directories.\r\n\r\nCreates one or more directories.\r\n\r\nArguments:\r\npath (tuple of Path): Paths to directories to be created. If directories already exist, they are not modified.\r\n\r\nExamples:\r\n\r\n    flio crd new_directory another_directory ...\r\n\r\n\r\n- Create files.\r\n\r\nCreates one or more files in the current directory or specified path.\r\n\r\nArguments:\r\nfilename (tuple of File): Names of files to be created.\r\npath (Path, optional): Custom path where the files will be created. If not provided, files are created in the current directory.\r\n\r\nExamples:\r\n\r\n1- Current directory:\r\n\r\n    flio crf file1.txt file2.txt ...\r\n\r\n2- Add a directory path:\r\n\r\n    flio crf -p /path/to/directory file1.txt file2.txt ...\r\n\r\n\r\n- Purge files and directories.\r\n\r\nDeletes specified files and directories. Requires user confirmation.\r\n\r\nArguments:\r\npaths (tuple of Path): Paths of files and directories to be deleted.\r\n\r\nExamples:\r\n\r\n    flio prg file1.txt directory1 ...\r\n\r\n\r\n- Show file contents.\r\n\r\nDisplays the content of one or more files.\r\n\r\nArguments:\r\nfiles (tuple of File): Files to display the contents of.\r\n\r\nExamples:\r\n\r\n    flio cnt file1.txt file2.txt\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A CLI tool that manages files and directories.",
    "version": "1.1.2",
    "project_urls": {
        "Homepage": "https://github.com/ayoub-aberbach/fdio"
    },
    "split_keywords": [
        "cli",
        " file",
        " io"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "776e70cd00356007ea997edb2f8d8f6cad0a3e74a363cf5d5aac6978116f2b1d",
                "md5": "b5e929701f26c4a04e6c8354f58d8064",
                "sha256": "88200f8501f83c00e6c5fc4b1d42203e8bf7ecec8b1700514bca0539e54b72f0"
            },
            "downloads": -1,
            "filename": "fdio-1.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "b5e929701f26c4a04e6c8354f58d8064",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3712,
            "upload_time": "2025-01-05T22:18:08",
            "upload_time_iso_8601": "2025-01-05T22:18:08.841856Z",
            "url": "https://files.pythonhosted.org/packages/77/6e/70cd00356007ea997edb2f8d8f6cad0a3e74a363cf5d5aac6978116f2b1d/fdio-1.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-05 22:18:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ayoub-aberbach",
    "github_project": "fdio",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.7"
                ]
            ]
        },
        {
            "name": "colorama",
            "specs": [
                [
                    "==",
                    "0.4.6"
                ]
            ]
        }
    ],
    "lcname": "fdio"
}
        
Elapsed time: 1.42799s