@sinotron/cli
v0.0.5-alpha
Published
Simple framework for Typescript Electron projects
Downloads
275
Maintainers
Readme
Sinotron CLI
Cli tool that scaffolds an Electron project using electron-vite, and creates an organisational structure for Electron app development.
Installation
npm install -g sinotron
# You can also use yarn or pnpm or bun
Usage
Usage: sinotron [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
setup [options] Setup the framework in the current project root.
project [options] [projectName] Create electron-vite project in the current folder.
api [apiName] Generate api client and service files
help [command] display help for command
project
Command
Create an electron-vite project in the current folder.
Usage: sinotron project [options] [projectName]
Arguments:
projectName The project name
Options:
-h, --help display help for command
setup
Command
Setup the framework in the current project root.
Usage: sinotron setup [options]
Options:
--force Overwrite framework directory if exists
--vscode Launch the project in VSCode
-h, --help display help for command
api
Command
Generate api client and service files
Usage: sinotron api [options] [apiName]
Arguments:
apiName The api name.
Options:
-h, --help display help for command