Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

atm3-command-upload

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atm3-command-upload

the upload file command for atm3

  • 0.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-30%
Maintainers
2
Weekly downloads
 
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

FAQs

Package last updated on 26 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc