dynamic-model-generator
v0.2.0
Published
Generate model from typescript definition
Downloads
5
Readme
dynamic-model-generator
Generate model from typescript definition
Usage
$ npm install -g dynamic-model-generator
$ dynamic-model-generator COMMAND
running command...
$ dynamic-model-generator (--version)
dynamic-model-generator/0.2.0 linux-x64 node-v18.18.2
$ dynamic-model-generator --help [COMMAND]
USAGE
$ dynamic-model-generator COMMAND
...
Commands
dynamic-model-generator generate
dynamic-model-generator help [COMMAND]
dynamic-model-generator init
dynamic-model-generator package add
dynamic-model-generator plugins
dynamic-model-generator plugins add PLUGIN
dynamic-model-generator plugins:inspect PLUGIN...
dynamic-model-generator plugins install PLUGIN
dynamic-model-generator plugins link PATH
dynamic-model-generator plugins remove [PLUGIN]
dynamic-model-generator plugins reset
dynamic-model-generator plugins uninstall [PLUGIN]
dynamic-model-generator plugins unlink [PLUGIN]
dynamic-model-generator plugins update
dynamic-model-generator type add
dynamic-model-generator generate
Generate code
USAGE
$ dynamic-model-generator generate
DESCRIPTION
Generate code
EXAMPLES
$ dynamic-model-generator generate
See code: src/commands/generate.ts
dynamic-model-generator help [COMMAND]
Display help for dynamic-model-generator.
USAGE
$ dynamic-model-generator 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 dynamic-model-generator.
See code: @oclif/plugin-help
dynamic-model-generator init
Create the initial configuration for your project
USAGE
$ dynamic-model-generator init [-f]
FLAGS
-f, --force
DESCRIPTION
Create the initial configuration for your project
EXAMPLES
$ dynamic-model-generator init
See code: src/commands/init.ts
dynamic-model-generator package add
Add package to config
USAGE
$ dynamic-model-generator package add
DESCRIPTION
Add package to config
See code: src/commands/package/add.ts
dynamic-model-generator plugins
List installed plugins.
USAGE
$ dynamic-model-generator plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ dynamic-model-generator plugins
See code: @oclif/plugin-plugins
dynamic-model-generator plugins add PLUGIN
Installs a plugin into dynamic-model-generator.
USAGE
$ dynamic-model-generator plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into dynamic-model-generator.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the DYNAMIC_MODEL_GENERATOR_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the DYNAMIC_MODEL_GENERATOR_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ dynamic-model-generator plugins add
EXAMPLES
Install a plugin from npm registry.
$ dynamic-model-generator plugins add myplugin
Install a plugin from a github url.
$ dynamic-model-generator plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ dynamic-model-generator plugins add someuser/someplugin
dynamic-model-generator plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ dynamic-model-generator 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
$ dynamic-model-generator plugins inspect myplugin
See code: @oclif/plugin-plugins
dynamic-model-generator plugins install PLUGIN
Installs a plugin into dynamic-model-generator.
USAGE
$ dynamic-model-generator plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into dynamic-model-generator.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the DYNAMIC_MODEL_GENERATOR_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the DYNAMIC_MODEL_GENERATOR_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ dynamic-model-generator plugins add
EXAMPLES
Install a plugin from npm registry.
$ dynamic-model-generator plugins install myplugin
Install a plugin from a github url.
$ dynamic-model-generator plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ dynamic-model-generator plugins install someuser/someplugin
See code: @oclif/plugin-plugins
dynamic-model-generator plugins link PATH
Links a plugin into the CLI for development.
USAGE
$ dynamic-model-generator plugins link PATH [-h] [--install] [-v]
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
--[no-]install Install dependencies after linking the plugin.
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
$ dynamic-model-generator plugins link myplugin
See code: @oclif/plugin-plugins
dynamic-model-generator plugins remove [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ dynamic-model-generator plugins remove [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ dynamic-model-generator plugins unlink
$ dynamic-model-generator plugins remove
EXAMPLES
$ dynamic-model-generator plugins remove myplugin
dynamic-model-generator plugins reset
Remove all user-installed and linked plugins.
USAGE
$ dynamic-model-generator plugins reset [--hard] [--reinstall]
FLAGS
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
--reinstall Reinstall all plugins after uninstalling.
See code: @oclif/plugin-plugins
dynamic-model-generator plugins uninstall [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ dynamic-model-generator plugins uninstall [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ dynamic-model-generator plugins unlink
$ dynamic-model-generator plugins remove
EXAMPLES
$ dynamic-model-generator plugins uninstall myplugin
See code: @oclif/plugin-plugins
dynamic-model-generator plugins unlink [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ dynamic-model-generator plugins unlink [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ dynamic-model-generator plugins unlink
$ dynamic-model-generator plugins remove
EXAMPLES
$ dynamic-model-generator plugins unlink myplugin
dynamic-model-generator plugins update
Update installed plugins.
USAGE
$ dynamic-model-generator plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins
dynamic-model-generator type add
adds a type to be converted from a package
USAGE
$ dynamic-model-generator type add
DESCRIPTION
adds a type to be converted from a package
EXAMPLES
$ dynamic-model-generator type add
See code: src/commands/type/add.ts