https://github.com/torinriley/pyvfs
Open source virtual file system from the command line.
https://github.com/torinriley/pyvfs
command-line-tool virtual-file-system
Last synced: about 2 months ago
JSON representation
Open source virtual file system from the command line.
- Host: GitHub
- URL: https://github.com/torinriley/pyvfs
- Owner: torinriley
- License: mit
- Created: 2024-11-25T02:46:34.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T21:19:43.000Z (6 months ago)
- Last Synced: 2025-03-17T04:44:53.222Z (2 months ago)
- Topics: command-line-tool, virtual-file-system
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyVFS CLI
The **Virtual File System (VFS) CLI** is a Python-based command-line tool that simulates a virtual file system. It allows users to create directories, files, and project boilerplates, interact with Git, and open files in their preferred editor.
## Features
- **Directory and File Management**:
- Create, move, and list files and directories.
- **Boilerplate Generation**:
- Generate predefined project structures for Django, React, and Python.
- **Git Integration**:
- Initialize repositories, stage files, and commit changes directly from the CLI.
- **File Opening**:
- Open files in Visual Studio Code or the default system editor.
- **Cross-Platform Support**:
- Works on Windows, macOS, and Linux.## Available Commands
- `mkdir `: Create a new directory.
- `touch `: Create a new file.
- `ls`: List contents of the current directory.
- `cd `: Change the current directory.
- `move `: Move a file to the specified directory.
- `open `: Open a file in Visual Studio Code.
- `boilerplate `: Generate project boilerplates.
- Supported templates: `django`, `react`, `python`.
- `git `:
- `init`: Initialize a Git repository.
- `status`: Display the Git status.
- `add `: Stage a file for commit.
- `commit `: Commit changes with a message.## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/torinriley/PyVFS.git
cd vfs-cli## Docs
[API](https://github.com/torinriley/PyVFS/blob/main/DOCS/API.md)