[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]

# @youappz/cli

Command line interface for interacting with the [YouAppz](https://www.youappz.com) static hosting platform.

### Installation

```sh
npm install @youappz/cli -g
```

If you have docker installed, you can create an alias that will run the docker image:

```sh
touch ~/.appz.yml

alias appz='docker run --rm -it  --volume "$PWD:/app/src"  --volume "$HOME/.appz.yml:/home/appz/.appz.yml" -e WWWUSER=$UID --name appz youappz/cli:latest appz'
```


This will make the `appz` command globally available. Run `appz help` for usage instructions:


```sh
YouAppz - Professional static web publishing. (1.2.0)

Usage:
    $ appz [command] [options]

Commands:    
    create [options]    Create a new Website
    webhook             Manage website webhooks
    list|ls             list of all websites
    delete|rm
    account
    info                Display a summary of the current website
    domain [options]    Register a custom domain for the current website
    deploy [options]    Deploy the website in the current directory.
    build [options]     build the website in the current directory.
    preview [options]   preview the build output.
    download [options]   Download Latest version of a website
    login               Login to your YouAppz account
    signup
    versions [options]  Manage website versions    
    help [command]      display help for command


    Type appz help COMMAND for more details
```

Complete docs available at: [https://sitez.youappz.com/docs/api/cli](https://sitez.youappz.com/docs/api/cli)

[npm-image]: https://img.shields.io/npm/v/@youappz/cli.svg?style=flat
[npm-url]: https://npmjs.org/package/@youappz/cli
[travis-image]: https://img.shields.io/travis/youappz/@youappz/cli.svg?style=flat
[downloads-image]: https://img.shields.io/npm/dm/@youappz/cli.svg?style=flat
[downloads-url]: https://npmjs.org/package/@youappz/cli