0.0.6-alpha • Published 9 months ago
@metatrust/mpm v0.0.6-alpha
Meta Package Manager
Usage
$ npm install -g @metatrust/mpm
$ mpm COMMAND
running command...
$ mpm (--version)
@metatrust/mpm/0.0.6-alpha darwin-x64 node-v16.17.0
$ mpm --help [COMMAND]
USAGE
$ mpm COMMAND
...
Commands
mpm config [ACTION] [KEY] [VALUE]
mpm generate TEMPLATE FILENAME
mpm help [COMMAND]
mpm init
mpm install [dependency]
mpm search [dependency]
mpm uninstall [dependency]
mpm config [ACTION] [KEY] [VALUE]
Config mpm command tools.
USAGE
$ mpm config [ACTION] [KEY] [VALUE]
ARGUMENTS
ACTION (list|set|get|reset|where) [default: list] Config action
KEY (mpm-json|mpm-lock-json|mpm-module|mpm-schema|mpm-lock-schema|server|proxy) Config key
VALUE Config value
DESCRIPTION
Config mpm command tools.
EXAMPLES
Show all config.
$ mpm config [list]
Config `mpm.json` file name
$ mpm config set mpm-json dep.json
Get one config from file.
$ mpm config get mpm-json
Reset all config file.
$ mpm config reset
Reset one config file.
$ mpm config reset mpm-json
Show config file location.
$ mpm config where
See code: dist/commands/config/index.ts
mpm generate TEMPLATE FILENAME
Generate smart contract template code.
USAGE
$ mpm generate TEMPLATE FILENAME [-d <value>]
ARGUMENTS
TEMPLATE Generate template name.
FILENAME Generate file name.
FLAGS
-d, --data=<value> [default: {}] Generate template data, must be JSON format.
DESCRIPTION
Generate smart contract template code.
EXAMPLES
$ mpm generate
See code: dist/commands/generate/index.ts
mpm help [COMMAND]
display help for mpm
USAGE
$ mpm help [COMMAND] [--json] [--all]
ARGUMENTS
COMMAND command to show help for
FLAGS
--all see all commands in CLI
--json Format output as json.
DESCRIPTION
display help for mpm
See code: @oclif/plugin-help
mpm init
Create your mpm project.
USAGE
$ mpm init
DESCRIPTION
Create your mpm project.
EXAMPLES
$ mpm init
See code: dist/commands/init/index.ts
mpm install [dependency]
Install all contract in your mpm.json dependencies.
USAGE
$ mpm install [dependency]
FLAGS
-t, --type=<option> [default: contract] Download contract type.
<options: library|contract>
DESCRIPTION
Install all contract in your mpm.json dependencies.
EXAMPLES
$ mpm install
$ mpm install contractName
FLAG DESCRIPTIONS
-t, --type=library|contract Download contract type.
By default, the installed dependency type will search for the specified dependency files and related dependencies.
All files of the entire library can be downloaded by specifying 'library'.
See code: dist/commands/install/index.ts
mpm search [dependency]
Search dependency.
USAGE
$ mpm search [dependency]
ARGUMENTS
NAME Search dependency name.
DESCRIPTION
Search dependency.
See code: dist/commands/search/index.ts
mpm uninstall [dependency]
Uninstall dependency.
USAGE
$ mpm uninstall [dependency]
DESCRIPTION
Uninstall dependency.
See code: dist/commands/uninstall/index.ts
mpm help [COMMAND]
display help for mpm
USAGE
$ mpm help [COMMAND] [--json] [--all]
ARGUMENTS
COMMAND command to show help for
FLAGS
--all see all commands in CLI
--json Format output as json.
DESCRIPTION
display help for mpm
See code: @oclif/plugin-help
mpm [COMMAND]
Welcome to use Meta Package Manage.
USAGE
$ mpm [COMMAND]
DESCRIPTION
Welcome to use Meta Package Manage.
See code: dist/commands/mpm/index.ts
mpm install [CONTRACT]
install contract to your project from mpm registry
USAGE
$ mpm install [CONTRACT]
ARGUMENTS
CONTRACT contract's name you want to add
DESCRIPTION
add contract to your project from mpm registry
EXAMPLES
$ mpm add ERC
mpm config
USAGE
$ mpm config
mpm init
create your mpm project
USAGE
$ mpm init
DESCRIPTION
create your mpm project
EXAMPLES
$ mpm init
mpm uninstall
USAGE
$ mpm mpm uninstall
0.0.4-alpha
9 months ago
0.0.1
9 months ago
0.0.2-alpha
9 months ago
0.0.6-alpha
9 months ago
0.0.3-alpha
9 months ago
0.0.5-alpha
9 months ago
0.0.1-alpha
9 months ago
0.1.0
1 year ago