1.2.1 • Published 2 years ago

nanosts v1.2.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

NanosTS CLI

official NanosTypescript CLI

Usage

$ npm install -g nanosts
$ nanosts COMMAND
running command...
$ nanosts (--version)
nanosts/1.2.1 linux-x64 node-v16.17.0
$ nanosts --help [COMMAND]
USAGE
  $ nanosts COMMAND
...

Commands

nanosts help [COMMAND]

Display help for nanosts.

USAGE
  $ nanosts help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for nanosts.

See code: @oclif/plugin-help

nanosts generate

Generates Nanos TypeScript declarations from the Docs JSON API

USAGE
  $ nanosts generate -o <value> [-b] [-s]

FLAGS
  -b, --bleeding        Use the bleeding edge version instead of the stable version
  -o, --output=<value>  (required) Output directory for the generated files
  -s, --skip            Whether to skip existing files or not

DESCRIPTION
  Generates Nanos TypeScript declarations from the Docs JSON API

See code: dist/commands/generate.ts

nanosts help [COMMAND]

Display help for nanosts.

USAGE
  $ nanosts help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for nanosts.

See code: @oclif/plugin-help

nanosts project NAME

Creates a new Nanos TypeScript project

USAGE
  $ nanosts project [NAME] [-a <value>] [-v <value>] [-t <value>] [-s <value>]

ARGUMENTS
  NAME  Name of the project

FLAGS
  -a, --author=<value>         Author of the project
  -s, --scriptFolders=<value>  Script folders of the project
  -t, --type=<value>           Type of the project
  -v, --version=<value>        [default: 1.0.0] Version of the project

DESCRIPTION
  Creates a new Nanos TypeScript project

See code: dist/commands/project.ts