
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@vikadata/widget-cli
Advanced tools
help you build awesome vika widget
$ npm install -g @vikadata/widget-cli
$ widget-cli COMMAND
running command...
$ widget-cli (-v|--version|version)
@vikadata/widget-cli/0.0.18 darwin-x64 node-v16.15.0
$ widget-cli --help [COMMAND]
USAGE
$ widget-cli COMMAND
...
widget-cli auth [TOKEN]widget-cli help [COMMAND]widget-cli initwidget-cli list-release [PACKAGEID]widget-cli releasewidget-cli rollback [PACKAGEID] [VERSION]widget-cli startwidget-cli submitwidget-cli unpublish [PACKAGEID]widget-cli auth [TOKEN]Login authentication, and cache the API Token
USAGE
$ widget-cli auth [TOKEN]
ARGUMENTS
TOKEN Your API Token
OPTIONS
-h, --host=host Specifies the host of the server, such as https://vika.cn
EXAMPLE
$ widget-cli auth [apiToken] --host [host]
Succeed!
See code: lib/commands/auth.js
widget-cli help [COMMAND]display help for widget-cli
USAGE
$ widget-cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
widget-cli initCreate a widget project and register it in your space
USAGE
$ widget-cli init
OPTIONS
-c, --name=name Name your widget and project
-h, --host=host Specifies the host of the server, such as https://vika.cn
-p, --packageId=packageId The widget package id
-s, --spaceId=spaceId In which space to put the widget on
-t, --token=token Your API Token
-u, --template=template The template code zip from vika or github
EXAMPLE
$ widget-cli init
your widget: my-widget is successfully created, cd my-widget/ check it out!
See code: lib/commands/init.js
widget-cli list-release [PACKAGEID]List all version information for your widget package release
USAGE
$ widget-cli list-release [PACKAGEID]
ARGUMENTS
PACKAGEID The widget package you want to unpublish
OPTIONS
-g, --global Specify global widget package
-h, --host=host Specifies the host of the server, such as https://vika.cn
-t, --token=token Your API Token
EXAMPLE
$ widget-cli list-release [packageId]
Succeed!
See code: lib/commands/list-release.js
widget-cli releaseRelease your widget package
USAGE
$ widget-cli release
OPTIONS
-h, --host=host Specifies the host of the server, such as https://vika.cn
-t, --token=token Your API Token
-v, --version=version Specifies the version of the project
--ci Run in CI mode, no version prompt
EXAMPLE
$ widget-cli release
Succeed!
See code: lib/commands/release.js
widget-cli rollback [PACKAGEID] [VERSION]Rollback the widget package to the specified version
USAGE
$ widget-cli rollback [PACKAGEID] [VERSION]
ARGUMENTS
PACKAGEID The widget package you want to rollback
VERSION The version of the widget package you want to rollback
OPTIONS
-g, --global Specify global widget package
-h, --host=host Specifies the host of the server, such as https://vika.cn
-t, --token=token Your API Token
EXAMPLE
$ widget-cli rollback [packageId] [version] --host [host] --token [token]
Succeed!
See code: lib/commands/rollback.js
widget-cli startStart current widget project in develop mode
USAGE
$ widget-cli start
OPTIONS
-o, --protocol=protocol [default: https] Specifies the protocol of the local server
-p, --port=port [default: 9000] Specifies the port of the local server
--debug Show debug information for cli it self
EXAMPLE
$ widget-cli start
Compiling...
See code: lib/commands/start.js
widget-cli submitSubmit your widget package
USAGE
$ widget-cli submit
OPTIONS
-h, --host=host Specifies the host of the server, such as https://vika.cn
-t, --token=token Your API Token
-v, --version=version Specifies the version of the project
--ci Run in CI mode, no prompt
EXAMPLE
$ widget-cli submit
Succeed!
See code: lib/commands/submit.js
widget-cli unpublish [PACKAGEID]Unpublish your widget package
USAGE
$ widget-cli unpublish [PACKAGEID]
ARGUMENTS
PACKAGEID The widget package you want to unpublish
OPTIONS
-g, --global Specify global widget package
-h, --host=host Specifies the host of the server, such as https://vika.cn
-t, --token=token Your API Token
--noConfirm Do not show confirm
EXAMPLE
$ widget-cli unpublish
Succeed!
See code: lib/commands/unpublish.js
FAQs
help you to build awesome vika widget
We found that @vikadata/widget-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.