@fractulus/cli
CLI tool for Fractulus
Last updated 2 years ago by njagadish3 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @fractulus/cli -g
SYNC missed versions from official npm registry.

Fractulus CLI

A command line interface for Fractulus

CLI

hbf new

The Fractulus CLI makes it easy to create an application that already works, right out of the box. It already follows fractal best practices!

# Creates new app "awesome-application" under current working directory
> hbf new "Awesome Application"
# Alias
> hbf n "Awesome Application"
# Skip installation of node modules
> hbf n "Awesome Application" -s
# Help & Options
> hbf new --help

hbf create-component

Generate components with a simple command. The CLI will also create simple test shells for them.

# Creates a component "hello-world" under "./src/app/components"
> hbf create-component "Hello World"
# Alias
> hbf cc "Hello World"
# Help & Options
> hbf cc --help

hbf create-page

Generate pages with a simple command.

# Creates a page "homepage" under "./src/app/pages"
> hbf create-page "Homepage"
# Alias
> hbf cp "Homepage"
# Help & Options
> hbf cp --help

hbf serve

Easily test your app locally while developing.

# Serve locally
> hbf serve
# Serve in production mode
> hbf serve -p
# Watch files
> hbf serve -w
# Generate source maps
> hbf serve -s
# Help & Options
> hbf serve --help

hbf build

Compiles the application into an output directory. The build artifacts will be stored in the dist/ directory

# Build for deployment
> hbf build
# Build production
> hbf build -p
# Generate source maps
> hbf build -s
# Help & Options
> hbf build --help

Current Tags

  • 1.0.3                                ...           latest (2 years ago)

4 Versions

  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (9)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |