Socket
Book a DemoInstallSign in
Socket

atm3-command-genhtml

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atm3-command-genhtml

generate html plugin for react-guide ui framework

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

##安装

npm i -gd atm3-command-upload

##配置项

-f, --from 来源

-t, --to 服务器位置

-i, --ignore 过滤规则,使用正则

##示例 #####上传文件/文件夹(zip文件会自动解压--服务端处理)

atm upload -f t.txt

atm upload -f ./

atm upload -f t.zip

默认上传到 /data/wapstatic/tmp #####上传到指定目录并过滤点开头文件(夹)zip文件

atm upload -f ./publish -t /data/wapstatic/v_lchliu/160601index -i "/(^.)|(.zip$)/i"

#####使用fis-conf.js进行配置

    fis.set("atm", {
        uploadService: 'http://wapstatic.kf0309.3g.qq.com/deploy',
        uploadConfig: {
            from: "./publish",
            to: "/data/wapstatic/v_lchliu/160601index",
            ignore: /(^\.)|(\.zip$)/i
        }
    });

注意:控制台中的配置会覆盖fis-conf.js的配置!

##Change Log #####2016-07-18  v0.0.4 1.增加文件(夹)过滤 2.增加fis-conf.js配置

Keywords

atm

FAQs

Package last updated on 30 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts