npm package: @meahana/cli
Description: Meahana CLI to manage component-groups
Author: john.hathaway, Dhaval Gala @dhavalgala, @rohitmeshramD, @rohitmeshramcodeb
Latest version: 2.4.7

# meahana
=================

meahana example CLI

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)

<!-- toc -->
* [meahana](#meahana)
* [Usage](#usage)
* [Local Env](#local-env)
* [Commands](#commands)
<!-- tocstop -->

# Usage

<!-- usage -->
```sh-session
$ npm install -g meahana
$ meahana COMMAND
running command...
$ meahana (--version)
meahana/1.0.3 win32-x64 node-v14.15.1
$ meahana --help [COMMAND]
USAGE
  $ meahana COMMAND
...
```
<!-- usagestop -->

# Local Env

1. Create a `.env` file with variable `API_BASE_URL` having it's value set to the base url of the deployed api
2. Build the CLI using `npm run build` or `yarn build`
3. To run on local env, replace the `meahana` keyword in command with `./bin/run` keeping the rest same
<!-- localenv -->

```sh-session
$ ./bin/run logout
Are you sure you want to logout? (y|yes|n|no):
USAGE
  $ ./bin/run logout
```

<!-- localenv stop -->

# Commands

<!-- commands -->
* [`meahana help [COMMAND]`](#meahana-help-command)
* [`meahana login`](#meahana-login)
* [`meahana logout`](#meahana-logout)
* [`meahana push`](#meahana-push)
* [`meahana show`](#meahana-show)
* [`meahana user`](#meahana-user)

## `meahana help [COMMAND]`

Display help for meahana.

```
USAGE
  $ meahana 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 meahana.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_

## `meahana login`

Meahana Login

```
USAGE
  $ meahana login

DESCRIPTION
  Meahana Login

EXAMPLES
  $ meahana login
```

_See code: [dist/commands/login/index.ts](https://github.com/Mea-Hana/mea_hana_cli/blob/v1.0.3/dist/commands/login/index.ts)_

## `meahana logout`

Meahana Logout

```
USAGE
  $ meahana logout [-c]

FLAGS
  -c, --confirm

DESCRIPTION
  Meahana Logout

EXAMPLES
  $ meahana logout
```

_See code: [dist/commands/logout/index.ts](https://github.com/Mea-Hana/mea_hana_cli/blob/v1.0.3/dist/commands/logout/index.ts)_


## `meahana push`

Read meahana.json and select a component group to push/update

```
USAGE
  $ meahana push -i [interaction number] -c [component number]

DESCRIPTION
  Read meahana.json and select a component group to push/update

EXAMPLES
  $ meahana push
  $ meahana push -i 1
  $ meahana push -i 1 -c 1
```

_See code: [dist/commands/push/index.ts](https://github.com/Mea-Hana/mea_hana_cli/blob/v1.0.3/dist/commands/push/index.ts)_

## `meahana show`

Read and display meahana file as component-group and components

```
USAGE
  $ meahana show

DESCRIPTION
  Read and display meahana file as component-group and components

EXAMPLES
  $ meahana show
```

_See code: [dist/commands/show/index.ts](https://github.com/Mea-Hana/mea_hana_cli/blob/v1.0.3/dist/commands/show/index.ts)_

## `meahana user`

Display current Meahana user & organization info

```
USAGE
  $ meahana user

DESCRIPTION
  Display current Meahana user & organization info

EXAMPLES
  $ meahana user
```

_See code: [dist/commands/user/index.ts](https://github.com/Mea-Hana/mea_hana_cli/blob/v1.0.3/dist/commands/user/index.ts)_

<!-- commandsstop -->