sinotron
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-alpha • Public • Published

Sinotron

Sinotron is a cli tool that creates an Electron project using electron-vite, and bootstraps a base 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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.0-alpha3latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.0-alpha3
0.0.3-alpha1
0.0.1-alpha1
0.0.1-dev0

Package Sidebar

Install

npm i sinotron

Weekly Downloads

5

Version

0.1.0-alpha

License

MIT

Unpacked Size

42.2 kB

Total Files

81

Last publish

Collaborators

  • ikmich