foundation-cli

The command line installer for Foundation Sites, Emails, Apps.

  • 所有者: foundation/foundation-cli
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Foundation CLI

This is the command-line interface for Foundation family of frameworks. It downloads and installs blank templates in any of the three Foundation frameworks:

Requirements

You'll need the following software installed to get started.

  • Node.js 0.12+: Use the installer provided on the NodeJS website.
    • With Node installed, run [sudo] npm install -g gulp bower.
  • Git: Use the installer for your OS.

Installing

The Foundation CLI is installed through npm.

npm install -g foundation-cli

This will add the foundation command to your system.

Updating

The CLI periodically gets updates that add features or fix bugs. Use npm to upgrade the CLI to the newest version.

npm update -g foundation-cli

To check what version you currently have, use -v.

foundation -v

Commands

New

Starts the setup process for a new Foundation project. The CLI will ask you which framework you want to use and a folder name for the project.

foundation new

Watch

While inside of your app's folder, use the watch command to assemble your app and run a test server.

cd appName
foundation watch

While this process is running, you can view the assembled app in your browser, at this URL:

http://localhost:8080

While the server is running, any changes you make to your HTML, Sass, or JavaScript will automatically be processed and added to your live app.

Build

To build your app for production, use foundation build.

foundation build

Update

Updates your Bower packages, which includes Foundation. Run this command if you're using Bower instead of NPM or Yarn and you want to update an existing project to the newest version of Foundation.

foundation update

Help

Lists all available commands in the CLI.

foundation help

Add a command name at the end to learn how a specific command works.

foundation help new

主要指标

概览
名称与所有者foundation/foundation-cli
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证
所有者活动
创建于2014-10-13 00:44:02
推送于2022-01-10 18:42:50
最后一次提交2022-01-10 10:42:35
发布数19
最新版本名称v2.3.2 (发布于 2022-01-10 10:42:35)
第一版名称v0.1.0 (发布于 )
用户参与
星数175
关注者数33
派生数47
提交数192
已启用问题?
问题数111
打开的问题数47
拉请求数17
打开的拉请求数0
关闭的拉请求数23
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?