An open API service indexing awesome lists of open source software.

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.

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)