
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@hexdigital/cli
Advanced tools
oclif example Hello World CLI
$ npm install -g @hexdigital/cli
$ hex COMMAND
running command...
$ hex (--version)
@hexdigital/cli/0.0.3 darwin-arm64 node-v16.16.0
$ hex --help [COMMAND]
USAGE
$ hex COMMAND
...
hex autocomplete [SHELL]hex help [COMMAND]hex notion open [FILE]hex pluginshex plugins:install PLUGIN...hex plugins:inspect PLUGIN...hex plugins:install PLUGIN...hex plugins:link PLUGINhex plugins:uninstall PLUGIN...hex plugins:uninstall PLUGIN...hex plugins:uninstall PLUGIN...hex plugins updatehex project open [CLIENTNAME]hex autocomplete [SHELL]display autocomplete installation instructions
USAGE
$ hex autocomplete [SHELL] [-r]
ARGUMENTS
SHELL shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
display autocomplete installation instructions
EXAMPLES
$ hex autocomplete
$ hex autocomplete bash
$ hex autocomplete zsh
$ hex autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
hex help [COMMAND]Display help for hex.
USAGE
$ hex 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 hex.
See code: @oclif/plugin-help
hex notion open [FILE]describe the command here
USAGE
$ hex notion open [FILE] [-n <value>] [-f]
FLAGS
-f, --force
-n, --name=<value> name to print
DESCRIPTION
describe the command here
EXAMPLES
$ hex notion open
hex pluginsList installed plugins.
USAGE
$ hex plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ hex plugins
See code: @oclif/plugin-plugins
hex plugins:install PLUGIN...Installs a plugin into the CLI.
USAGE
$ hex plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ hex plugins add
EXAMPLES
$ hex plugins:install myplugin
$ hex plugins:install https://github.com/someuser/someplugin
$ hex plugins:install someuser/someplugin
hex plugins:inspect PLUGIN...Displays installation properties of a plugin.
USAGE
$ hex plugins:inspect PLUGIN...
ARGUMENTS
PLUGIN [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ hex plugins:inspect myplugin
hex plugins:install PLUGIN...Installs a plugin into the CLI.
USAGE
$ hex plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ hex plugins add
EXAMPLES
$ hex plugins:install myplugin
$ hex plugins:install https://github.com/someuser/someplugin
$ hex plugins:install someuser/someplugin
hex plugins:link PLUGINLinks a plugin into the CLI for development.
USAGE
$ hex plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ hex plugins:link myplugin
hex plugins:uninstall PLUGIN...Removes a plugin from the CLI.
USAGE
$ hex plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ hex plugins unlink
$ hex plugins remove
hex plugins:uninstall PLUGIN...Removes a plugin from the CLI.
USAGE
$ hex plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ hex plugins unlink
$ hex plugins remove
hex plugins:uninstall PLUGIN...Removes a plugin from the CLI.
USAGE
$ hex plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ hex plugins unlink
$ hex plugins remove
hex plugins updateUpdate installed plugins.
USAGE
$ hex plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
hex project open [CLIENTNAME]Opens the project management tool for this project
USAGE
$ hex project open [CLIENTNAME]
DESCRIPTION
Opens the project management tool for this project
EXAMPLES
$ hex project open
FAQs
Hex Digital CLI
We found that @hexdigital/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.