Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xtx1130/cli

cli list for plugins
https://github.com/xtx1130/cli

babel browserify cli nginx nodejs shell zsh

Last synced: 4 months ago
JSON representation

cli list for plugins

Awesome Lists containing this project

README

        

# xtx-cli

> cli for local

## Deeply individuation env for local environment

### What is cli?

Establish folders quickly
Use plugins quickly
submit your code quickly
change hosts quickly

### Env needed:

_node(>=5.0.0),zsh bash,nginx_

```bash
npm install -g xtx-cli
```

### parameter

```bash
xtx -h --help
```

```bash
xtx init(init project)
```

```bash
xtx version
```

```bash
xtx folder
```

```bash
xtx update
```

```bash
xtx babel (-m)
```

```bash
xtx cdn (-l --local,-o --online,-t --test)
```

```bash
xtx common (browserify)
```

```bash
xtx ci (svn up and ci)
```

```bash
xtx hosts domain (-a --add add \# for domain,-d --delete delete \# for domain)
```

### 1.1.0 version

+ add programmer method and you can find demo.js for your fast establish a command

### 1.1.3 version

+ add babels for es6 to es5

### 1.1.4 version

+ add cdn for switch host(nginx,zsh,mac osX10+ needed)

### 1.1.5 version

+ add uglify for compass javascript

### 1.1.6 version

+ add static server (you need combine nginx to use it)
+ add sh folder for shell

### 1.1.7 version

+ add auto push online

### 1.1.9 version

+ fix switch.sh & submit.sh bug
+ add filedeps for deps
+ update folder for using config.js to control folder style

### 1.2.0 version

+ add projectenv.sh for hosts
+ add hosts for single host addon(#)

### 1.2.3 version

+ add auto init
+ fix bugs

### 1.2.5 version

+ init is needed when first use
+ make stdout more distinct

### 1.2.7 version

+ add chalk info,warning,error
+ fix server bug and add chalk for server

### 2.0.0 version

+ Good Bye sina leju , welcome xtx1130

### TO DO

+ fix bug and make out a ftp sever

## tips

+ If you wanna use it or test it,please ensure your computer is mac osX 10.11+,python(<=2.7) and you should use zsh shell,
gcc and make file is also needed,and do not forget nginx,O(∩_∩)O~

## License

MIT