1.0.1 • Published 1 year ago

jdhp v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

JDHP Cli

Usage

$ npm install -g jdhp
$ jdhp COMMAND
running command...
$ jdhp (--version)
jdhp/1.0.1 linux-x64 node-v18.12.1
$ jdhp --help [COMMAND]
USAGE
  $ jdhp COMMAND
...

Commands

jdhp help [COMMANDS]

Display help for jdhp.

USAGE
  $ jdhp help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

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

DESCRIPTION
  Display help for jdhp.

jdhp init FOLDER

Initizize

USAGE
  $ jdhp init FOLDER

ARGUMENTS
  FOLDER  Person to say hello to

DESCRIPTION
  Initizize

EXAMPLES
  $ jdhp init my_project
  1/5 - Creating project
  2/5 - Got repository
  3/5 - Removed default .gitignore
  4/5 - Copying repository to my_project
  5/5 - Finished.

jdhp plugins

List installed plugins.

USAGE
  $ jdhp plugins [--core]

FLAGS
  --core  Show core plugins.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ jdhp plugins

jdhp plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ jdhp 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
  $ jdhp plugins add

EXAMPLES
  $ jdhp plugins:install myplugin 

  $ jdhp plugins:install https://github.com/someuser/someplugin

  $ jdhp plugins:install someuser/someplugin

jdhp plugins:inspect PLUGIN...

Displays installation properties of a plugin.

USAGE
  $ jdhp plugins:inspect PLUGIN...

ARGUMENTS
  PLUGIN  [default: .] Plugin to inspect.

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Displays installation properties of a plugin.

EXAMPLES
  $ jdhp plugins:inspect myplugin

jdhp plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ jdhp 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
  $ jdhp plugins add

EXAMPLES
  $ jdhp plugins:install myplugin 

  $ jdhp plugins:install https://github.com/someuser/someplugin

  $ jdhp plugins:install someuser/someplugin

jdhp plugins:link PLUGIN

Links a plugin into the CLI for development.

USAGE
  $ jdhp 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
  $ jdhp plugins:link myplugin

jdhp plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ jdhp plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ jdhp plugins unlink
  $ jdhp plugins remove

jdhp plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ jdhp plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ jdhp plugins unlink
  $ jdhp plugins remove

jdhp plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ jdhp plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ jdhp plugins unlink
  $ jdhp plugins remove

jdhp plugins update

Update installed plugins.

USAGE
  $ jdhp plugins update [-h] [-v]

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Update installed plugins.

jdhp update

Update the core server

USAGE
  $ jdhp update

DESCRIPTION
  Update the core server

EXAMPLES
  $ jdhp update
  1/5 - Starting update
  2/5 - Got repository
  3/5 - Removed default .gitignore
  4/5 - Replacing core_server.
  5/5 - Finished.