# laradock-cli

> Basic cli helper for Laradock

Latest version **0.0.3** (published 2016-10-25) · MIT license · 0 weekly downloads

## Install

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

Provides the commands `laradock`, `laradock-up`, `laradock-ssh`, `laradock-halt`, `laradock-init`, `laradock-destroy`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2016-10-25 |
| First published | 2016-10-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Abdelrahman Awad |
| Maintainers | logaretm |
| Keywords | laradock, laradock-cli, laravel, docker |

## Links

- npm: https://www.npmjs.com/package/laradock-cli
- Repository: https://github.com/logaretm/laradock-cli
- Homepage: https://github.com/logaretm/laradock-cli#readme
- Issues: https://github.com/logaretm/laradock-cli/issues
- npm.io page: https://npm.io/package/laradock-cli

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [shelljs](https://npm.io/package/shelljs.md) ^0.7.4
- [commander](https://npm.io/package/commander.md) ^2.9.0

## Recent versions

- 0.0.3 (latest) — 2016-10-25
- 0.0.2 — 2016-10-23
- 0.0.1 — 2016-10-01

## README

# laradock-cli

This is a basic node cli helper to help myself with [Laradock](https://github.com/LaraDock/laradock) usage.

This is useful for those who are used to Homestead and want a simple CLI interface to use with Laradock, also for those who are new to docker like myself.

I integrated Laradock into my Laravel Projects because of the resources usage, and how fast you can bring containers up vs. virtual machines, but the usage was a bit annoying this cli tool exposes the basic actions you will probably use the most.

### Installation

```bash
npm install -g laradock-cli
```

### What does it do?

**Note: All the following commands must run from within your laravel project root directory.**

- Initializes Laradock in existing laravel projects.
```bash
laradock init
```
- Creates/Starts the Laradock containers for the current project.
```bash
laradock up
```
- Stops the containers running for the current project.
```bash
laradock halt
```

- Destroys/Removes Laradock from the current project.
```bash
laradock destroy
```

- Helps you ssh into the workspace container to run migrations or seeds:
```bash
laradock ssh
```


I'm still toying around with Shelljs I might improve few stuff in the future. Any help will be great.

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