vnetxe
v0.0.3
Published
vnetxe assistant CLI tool
Maintainers
Readme
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 -hInitialize 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 saveThis 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>.txtTemplate 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>.txtLicense
MIT
