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/d4/9f/3576ad5d0915172f874bfdc193db9db77bcdf67b4ed8f4760622886a47ee/fdio-1.1.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",
"project_urls": {
"Homepage": "https://github.com/ayoub-aberbach/fdio"
},
"split_keywords": [
"cli",
" file",
" io"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d49f3576ad5d0915172f874bfdc193db9db77bcdf67b4ed8f4760622886a47ee",
"md5": "c51a6bfd9bd440fc199b658d89a86a38",
"sha256": "74b7c62633031b2ef3be830c7a2a377e155edb6c1d27e04362cfe85fb19cc455"
},
"downloads": -1,
"filename": "fdio-1.1.tar.gz",
"has_sig": false,
"md5_digest": "c51a6bfd9bd440fc199b658d89a86a38",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3672,
"upload_time": "2024-09-07T18:18:48",
"upload_time_iso_8601": "2024-09-07T18:18:48.589332Z",
"url": "https://files.pythonhosted.org/packages/d4/9f/3576ad5d0915172f874bfdc193db9db77bcdf67b4ed8f4760622886a47ee/fdio-1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-07 18:18:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ayoub-aberbach",
"github_project": "fdio",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "fdio"
}