Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

codenut-cli

0.1.9 • Public • Published

codenut-cli

A simple cli for codenut project

Installation

npm install -g codenut-cli

Usage

nut install <asset>
nut create <component>
nut page <path>
nut generate webfont <font-path> <dest>

# mac os
brew install imagemagick

# window
visit https://www.imagemagick.org/script/download.php
download ImageMagick-7.0.7-14-Q16-x64-dll.exe 

# image size : 1024 x 1024
nut generate appicon <img-path>

Example

nut install toggle
nut create textfield
nut page component/contact-us
nut generate webfont 'font/heveltica.ttf' 'heveltica'
nut generate webfont 'font/*.ttf' 'heveltica'
nut generate appicon './icon.png'

install

npm i codenut-cli

Downloadsweekly downloads

2

version

0.1.9

license

GPLv2

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar