Skip to content

extenv/vnetxe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vnet CLI

Overview

vnetxe is a CLI toolkit runtime designed to help project initialization, template generation, and feature execution to accelerate development workflows.


Features

  • Hierarchical directory tree
  • DSL-based template generator
  • Script command executor

Usage

Show Help

vnet --help
vnet -h

Initialize Project

vnet init
vnet init local
Mode Description
default Clone template repository
local Copy template from local storage

Output directory:

vnet/

Save Project Locally

vnet save

This command copies project folder vnet/ into system local application storage.


Feature Runner

Feature files are located in:

vnet/features/<feature>.(ts|js|html)

Supported Feature Export Format

TypeScript / JavaScript feature module must export one of:

export default function(args: string[]) {}

or

export async function run(args: string[]) {}

If feature file extension is HTML, CLI will print browser preview URL.


Template DSL

Template files are located in:

vnet/templates/<template>.txt

Template Syntax

Syntax Meaning
$ folder/ Create directory
$ file.txt Create file
# End file block

Example Template

$ src/

$ src/index.ts
console.log("hello world")
#

$ README.md
# Project Title
#

The template runner includes path traversal protection using path normalization validation.


Script Command Runner

Script commands are stored in:

vnet/commands/<command>.txt

License

MIT

About

a CLI toolkit runtime designed to help project initialization, template generation, and feature execution to accelerate development workflows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors