Nextop-CLI
Nextop CLI tool
Usage
$ npm install -g @piigo/nextop-cli
$ nextop COMMAND
running command...
$ nextop (--version)
@piigo/nextop-cli/0.1.2 darwin-arm64 node-v16.13.0
$ nextop --help [COMMAND]
USAGE
$ nextop COMMAND
...
Commands
nextop clients link
nextop clients release
nextop dev
nextop gh
nextop init DIRECTORY
nextop link
nextop storybook
nextop clients link
Link clients to app
USAGE
$ nextop clients link
DESCRIPTION
Link clients to app
EXAMPLES
$ nextop clients link
Link clients to app
nextop clients release
Link clients to app
USAGE
$ nextop clients release
DESCRIPTION
Link clients to app
EXAMPLES
$ nextop clients link
Link clients to app
nextop dev
Launch nextop in dev mode
USAGE
$ nextop dev [-e]
FLAGS
-e, --edit Open Visual Studio Code for all projects
DESCRIPTION
Launch nextop in dev mode
EXAMPLES
$ nextop dev
Run all projects in dev mode in a new terminal tab
See code: dist/commands/dev.ts
nextop gh
Open github pages for each repositories
USAGE
$ nextop gh [-h] [-a] [-c] [-l] [-A]
FLAGS
-A, --api Open nextop-api repository
-a, --app Open nextop-app repository
-c, --clients Open nextop-clients repository
-h, --home Open nextop-home repository
-l, --lib Open nextop-library repository
DESCRIPTION
Open github pages for each repositories
EXAMPLES
$ nextop gh
Open all repositories (clients, app, library)
See code: dist/commands/gh.ts
nextop init DIRECTORY
Initialize Nextop project
USAGE
$ nextop init [DIRECTORY]
ARGUMENTS
DIRECTORY Directory to initialize Nextop
DESCRIPTION
Initialize Nextop project
EXAMPLES
$ nextop init <dir>
Clone all the repositories inside the specified directory
See code: dist/commands/init.ts
nextop link
Alias to yarn link
USAGE
$ nextop link [-c] [-l] [-u]
FLAGS
-c, --clients Link @iteatime/nextop-clients package
-l, --lib Link @iteatime/nextop-library package
-u, --unlink Unlink package
DESCRIPTION
Alias to yarn link <package>
EXAMPLES
$ nextop link [package]
Link [package] to current project
$ nextop link -u [package]
Unlink [package] to current project
See code: dist/commands/link.ts
nextop storybook
Launch nextop in dev mode
USAGE
$ nextop storybook
DESCRIPTION
Launch nextop in dev mode
EXAMPLES
$ nextop storybook
Launch client's storybook
See code: dist/commands/storybook.ts