Skip to content

jolie/jpm

Repository files navigation

JPM

=================

jolie package manager

Usage

$ npm install -g @jolie/jpm
$ jpm COMMAND
running command...
$ jpm (--version)
@jolie/jpm/3.0.5 linux-x64 node-v20.17.0
$ jpm --help [COMMAND]
USAGE
  $ jpm COMMAND
...

Commands

jpm init [PATH]

Generate jpm's specific configuration to package.json

USAGE
  $ jpm init [PATH...]

ARGUMENTS
  PATH...  Target package

DESCRIPTION
  Generate jpm's specific configuration to package.json

EXAMPLES
  $ jpm init
      add jpm related fields to package.json in current working directory

  $ jpm init [path]
      add jpm related fields to package.json in specify path

See code: src/commands/init.ts

jpm install [TARGET]

Add Jolie related dependency to the project

USAGE
  $ jpm install [TARGET] [-r mvn|npm]

ARGUMENTS
  TARGET  Target package

FLAGS
  -r, --repo=<option>  specify the lookup repository
                       <options: mvn|npm>

DESCRIPTION
  Add Jolie related dependency to the project

EXAMPLES
  $ jpm install
  scan entries from package.json and download all dependencies

  $ jpm install @jolie/websocket
  add @jolie/websocket into the project

  $ jpm install org.jsoup:jsoup
  add maven's jsoup into the project

  $ jpm install jolie-jsoup@latest
  add jolie-jsoup with latest tag into the project

See code: src/commands/install.ts

jpm remove TARGET

Remove Jolie related dependency to the project

USAGE
  $ jpm remove TARGET

ARGUMENTS
  TARGET  Target package

DESCRIPTION
  Remove Jolie related dependency to the project
  Currently, it removes the corresponding entry on package.json file and perform install command


EXAMPLES
  $ jpm remove jolie-jsoup
      Remove jolie-jsoup from the dependencies

See code: src/commands/remove.ts