# modi-cli

> Console application for provisioning, displaying or destroying virtual machines in MODI

Latest version **1.0.62** (published 2016-01-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install modi-cli
pnpm add modi-cli
yarn add modi-cli
bun add modi-cli
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.62 |
| Published | 2016-01-26 |
| First published | 2016-01-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 (+5 in 3 direct dependencies) |
| Install scripts | yes |
| Author | Bogdan Gemanaru |
| Maintainers | bg |
| Keywords | MODI, Client, CLI, Console, Application |

## Links

- npm: https://www.npmjs.com/package/modi-cli
- Repository: dev-modi-npm.rws.ad.ea.com
- npm.io page: https://npm.io/package/modi-cli

## Dependencies (9)

- [stdio](https://npm.io/package/stdio.md) ^0.2.6
- [crypto](https://npm.io/package/crypto.md) 0.0.3
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.4
- [request](https://npm.io/package/request.md) ^2.49.0
- [httpntlm](https://npm.io/package/httpntlm.md) 1.5.2
- [minimist](https://npm.io/package/minimist.md) ^1.1.0
- [readline](https://npm.io/package/readline.md) 0.0.5
- [validator](https://npm.io/package/validator.md) ^3.26.0
- [js2xmlparser](https://npm.io/package/js2xmlparser.md) ^0.1.5

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.62 (latest) — 2016-01-26

## README

# modi-cli console application #

## Overview ##

modi-cli is a cross platform console application which gives access to basic Virtual machines operations (provision, destory, status..)
The modi-cli application allows the game teams to use a simple command line tool and integrate it into their existing pipelines, 
spinning up additional machines as needed.

## Features ##

The MODI command line utility allows for users to provision machines from a common win32 command-line prompt or a linux shell or a Mac OsX.
The CLI interface is simple to use and does require to provide the EA credentials of an AD account with permissions to the MODI service.


## Installation ##

In order to install 'modi-cli' use npm: 

`npm set registry http://dev-modi-npm.rws.ad.ea.com`

`npm adduser`

<specify your user and password for THIS repository>

`npm install modi-cli`.


## Usage ##
## Examples ##

1. Provision new virtual machine:
  
   provision -n "bg897" -d "syn-lg" -b "Windows 7 x64 SP1 - Virtual, WEST (CA1)" --loc "US (West Coast)" -c 1 -g 2 -l 2 --ppu-le 570 --ppu-bu 1210 --ppu-dept 5941 --ppu-project synergy --ppu-contact "bg@ea.com" --ppu-contact-name "bogdang"
  
   provision -n "bg897.ad.ea.com" -d "syn-lg" -b "Windows 7 x64 SP1 - Virtual, WEST (CA1)" --loc "US (West Coast)" -c 1 -g 2 -l 2 --ppu-le 570 --ppu-bu 1210 --ppu-dept 5941 --ppu-project synergy --ppu-contact "bg@ea.com" --ppu-contact-name "bogdang"

   provision --machineName "bg714" -d "syn-lg" -b "Windows 7 x64 SP1 - Virtual, WEST (CA1)" --loc "US (West Coast)" -c 1 -g 2 -l 2 --ppu-le 570 --ppu-bu 1210 --ppu-dept 5941 --ppu-project synergy --ppu-contact "bg@ea.com" --ppu-contact-name "bogdang"

2. Destroy virtual machine
	
   destroy -n 'BI-bg990'

3. Properties of the virtual machine

   properties -n "devbg105"

4. Status of the vm.

   status -n "devbg105"

5. Get the blueprints.

   blueprints	

## License ##

EA internal application.

---
_Source: https://npm.io/package/modi-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
