Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
nextg
Advanced tools
Readme
A CLI tool for generating NextJs applications
$ npm install -g nextg
$ nextg COMMAND
running command...
$ nextg (-v|--version|version)
nextg/1.0.0 win32-x64 node-v14.16.0
$ nextg --help [COMMAND]
USAGE
$ nextg COMMAND
...
$ npm install -g @shesha/nextg
$ nextg COMMAND
running command...
$ nextg (-v|--version|version)
@shesha/nextg/1.0.0 win32-x64 node-v10.16.3
$ nextg --help [COMMAND]
USAGE
$ nextg COMMAND
...
nextg component [NAME]
nextg context [NAME]
nextg enum [NAME]
nextg help [COMMAND]
nextg hoc [NAME]
nextg hook [NAME]
nextg init [NAME]
nextg model [NAME]
nextg page [NAME]
nextg provider [NAME]
nextg provider:action [PROVIDER] [NAME]
nextg component [NAME]
adds a new component
USAGE
$ nextg component [NAME]
ARGUMENTS
NAME name of the component
OPTIONS
-h, --help show CLI help
See code: src\commands\component\index.ts
nextg context [NAME]
adds a new context
USAGE
$ nextg context [NAME]
ARGUMENTS
NAME name of the context
OPTIONS
-h, --help show CLI help
See code: src\commands\context\index.ts
nextg enum [NAME]
adds a new enum
USAGE
$ nextg enum [NAME]
ARGUMENTS
NAME name of the enum
OPTIONS
-h, --help show CLI help
See code: src\commands\enum\index.ts
nextg help [COMMAND]
display help for nextg
USAGE
$ nextg help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
nextg hoc [NAME]
adds a new Higher-Order Component
USAGE
$ nextg hoc [NAME]
ARGUMENTS
NAME name of the higher-order component
OPTIONS
-h, --help show CLI help
See code: src\commands\hoc\index.ts
nextg hook [NAME]
adds a new hook
USAGE
$ nextg hook [NAME]
ARGUMENTS
NAME name of the hook
OPTIONS
-h, --help show CLI help
See code: src\commands\hook\index.ts
nextg init [NAME]
generates a new project hahaha
USAGE
$ nextg init [NAME]
ARGUMENTS
NAME name of the project
OPTIONS
-h, --help show CLI help
See code: src\commands\init\index.ts
nextg model [NAME]
adds a new model/interface
USAGE
$ nextg model [NAME]
ARGUMENTS
NAME name of the interface/model
OPTIONS
-h, --help show CLI help
See code: src\commands\model\index.ts
nextg page [NAME]
adds a new page
USAGE
$ nextg page [NAME]
ARGUMENTS
NAME name of the page
OPTIONS
-c, --conceal do not show a link to this page
-h, --help show CLI help
-i, --icon=icon icon for this page
-t, --title=title page title
See code: src\commands\page\index.ts
nextg provider [NAME]
adds a new provider
USAGE
$ nextg provider [NAME]
ARGUMENTS
NAME name of the provider
OPTIONS
-h, --help show CLI help
See code: src\commands\provider\index.ts
nextg provider:action [PROVIDER] [NAME]
adds a new action
USAGE
$ nextg provider:action [PROVIDER] [NAME]
ARGUMENTS
PROVIDER name of the provider
NAME name of the action
OPTIONS
-a, --actioned whether the action should have an actioned flag
-e, --error whether the action should have an error flag
-h, --help show CLI help
-p, --isInProgress whether the action should have an in progress flag
-s, --success whether the action should have a success flag
See code: src\commands\provider\action.ts
nextg action NAME
nextg api [FILE]
nextg authentication [FILE]
nextg component [FILE]
nextg context NAME
nextg help [COMMAND]
nextg hoc NAME
nextg hook NAME
nextg init [NAME]
nextg page [FILE]
nextg store NAME
nextg swag NAME
nextg action NAME
adds a new redux store to the project
USAGE
$ nextg action NAME
ARGUMENTS
NAME name of the store
OPTIONS
-h, --help show CLI help
See code: src\commands\action.ts
nextg api [FILE]
adds an API to the project
USAGE
$ nextg api [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name of the project
See code: src\commands\api.ts
nextg authentication [FILE]
adds authentication to the project
USAGE
$ nextg authentication [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name of the project
See code: src\commands\authentication.ts
nextg component [FILE]
creates a new component
USAGE
$ nextg component [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name of the project
See code: src\commands\component.ts
nextg context NAME
adds a new context
USAGE
$ nextg context NAME
ARGUMENTS
NAME name of the context
OPTIONS
-h, --help show CLI help
See code: src\commands\context.ts
nextg help [COMMAND]
display help for nextg
USAGE
$ nextg help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
nextg hoc NAME
adds a new Higher-Order Component
USAGE
$ nextg hoc NAME
ARGUMENTS
NAME name of the higher-order component
OPTIONS
-h, --help show CLI help
See code: src\commands\hoc.ts
nextg hook NAME
adds a new hook
USAGE
$ nextg hook NAME
ARGUMENTS
NAME name of the hook
OPTIONS
-h, --help show CLI help
See code: src\commands\hook.ts
nextg init [NAME]
generates a new project
USAGE
$ nextg init [NAME]
ARGUMENTS
NAME name of the project
OPTIONS
-a, --authentication include authentication
-f, --force does not ask the user to confirm if they do not want any of authentication, googleAnalytics or
insights
-g, --googleAnalytics include Google Analytics
-h, --help show CLI help
-i, --insights include Application Insights
See code: src\commands\init.ts
nextg page [FILE]
adds a new page
USAGE
$ nextg page [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name of the project
See code: src\commands\page.ts
nextg store NAME
adds a new redux store to the project
USAGE
$ nextg store NAME
ARGUMENTS
NAME name of the store
OPTIONS
-h, --help show CLI help
See code: src\commands\store.ts
nextg swag NAME
adds/updates a swagger file and regenerates the APIs
USAGE
$ nextg swag NAME
ARGUMENTS
NAME name of the destination file
OPTIONS
-h, --help show CLI help
-p, --password=password password of the server that hosts the swagger file
-u, --username=username username of the server that hosts the swagger file
See code: src\commands\swag.ts
FAQs
A CLI tool for generating NextJs applications
The npm package nextg receives a total of 0 weekly downloads. As such, nextg popularity was classified as not popular.
We found that nextg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.