🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

easy-flutter

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-flutter

智联招聘flutter项目cli工具

0.0.86
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

easyf -- flutter 项目管理工具

NPM version

easyf 可以帮助你容易和快速的管理flutter项目。

安装

$ npm i -g easy-flutter

本地更新

$ npm update -g easy-flutter

Example

$ easyf create
要求:
    1.全小写单词、数字、下划线拼接;
    2.字母开头。
    参考 sky_engine, dio, rainbow_bridge 等官方或非官方开源工程名
🔨请输入工程名: test
要求:
    (package) 1
    (plugin) 2
    (module) 3
🔨请选择工程类型: 2
要求:
    (通用工具) 1
    (网络工具) 2
    (UI组件) 3
    (业务包) 4
    规范: 
    [业务包]根据项目目录规范,自动补充src/目录结构,遵守MVVM开发架构
    [业务包]根据项目命名规范,自动补充zl_flutter_<#工程名#>_<#工程类型名称#>前后缀
🔨请选择功能分类: 1

...

成功:完成创建项目

用法

Usage: easyf [options] [command]

Commands:
  create                          创建 flutter 项目
  mksrc [options] [srcDirectory]  要求在 src 目录下,创建 mvvm 架构目录
  module [options] [directory]    要求在 modules 目录下,创建 module 开发目录
  adapt [projectDirectory]        已存在项目做工程规范适配
Usage: easyf mksrc [options] [srcDirectory]

要求在 src 目录下,创建 mvvm 架构目录

Options:
  -mk, --makedir <makedir>  是否主动创建src目录 (boolean)
Usage: easyf module [options] [directory]

要求在 modules 目录下,创建 module 开发目录

Options:
  -mk, --makedir <makedir>  是否主动创建 module 目录
  -n, --name <name>         模块的名字

注意

因为公司内部使用CLI工具,所有脚手架创建项目中有内部组件库依赖,使用时可以手动移除。

TODO

  • 进入目录后,创建MVVM目录

迭代支持

如果有任何问题和想法,可以通过邮箱联系:lv.hongyang@zhaopin.com.cn

LICENSE

MIT

Keywords

flutter

FAQs

Package last updated on 07 Oct 2023

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