Code Monkey home page Code Monkey logo

fbi's Introduction

fbi logo

fbi is an workflow tool in command-line. It was designed to help developers improve productivity, unify and standardize teams workflows.

Usage

Scene 1

# create project
npx fbi create [factory]

# see available commands and templates
npx fbi ls

Scene 2

# install globally
npm i -g fbi

# add factory
fbi add [factory]

# create project
fbi create

# see available commands and templates
fbi ls

BuiltIn Commands

  • fbi -h: Display help for fbi
  • fbi <command> -h: Display help for <command>

Add

Usage: fbi add [options] <factories...>

add factories from npm module or git url

Options:
  -y, --yes                     Yes to all questions
  -t, --target-dir <dir>        Target dir for factory from npm
  -p, --package-manager <name>  Specifying a package manager. e.g. pnpm/yarn/npm
  -d, --debug                   output extra debugging
  -h, --help                    display help for command

Examples:
  fbi add factory-node
  fbi add @fbi-js/factory-node -t sub-dir -y

Remove

Usage: fbi remove [options] [factoryIds...]

remove factories from the store. Also delete files.

Options:
  -d, --debug  output extra debugging
  -h, --help   display help for command

Examples:
  fbi remove
  fbi remove @fbi-js/factory-node

Create

Usage: fbi create [options] [template|factory] [project]

create a project via template or factory. If factory non-exist, it will install the factory first.

Options:
  -p, --package-manager <name>  Specifying a package manager. e.g. pnpm/yarn/npm (default: "npm")
  -d, --debug                   output extra debugging
  -h, --help                    display help for command

Examples:
  fbi create factory-node
  fbi create factory-node my-app -p yarn

List

Usage: fbi list|ls [options] [factories...]

list factories and commands info

Options:
  -a, --all       show all factories
  -p, --projects  show projects
  -d, --debug     output extra debugging
  -h, --help      display help for command

Examples:
  fbi ls
  fbi ls @fbi-js/factory-node -p

Link

Usage: fbi link [options] [factories...]

link local factories to the store. Usful for factory development.

Options:
  -d, --debug  output extra debugging
  -h, --help   display help for command

Examples:
  fbi link
  fbi link local-folder

Info

Usage: fbi info [options]

get environment info, get/set context config

Options:
  -e, --edit   Edit config
  -d, --debug  output extra debugging
  -h, --help   display help for command

Examples:
  fbi info
  fbi info -e

Clean

Usage: fbi clean [options]

clean stale factories and projects

Options:
  -d, --debug  output extra debugging
  -h, --help   display help for command

Examples:
  fbi clean

Factory

Factory produces project templates and commands.

Official factories

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who already contributed to fbi!

License

Licensed under MIT.

fbi's People

Contributors

neikvon avatar shaword avatar taomas avatar yzstrive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fbi's Issues

fatal: No names found, cannot describe anything.

1. Information

OS version: macOS 10.12

Node version: 8.7.0

fbi version: 3.0.5

2. Problem

“fatal: No names found, cannot describe anything.”

when adding a remote template which has no tags.

node版本判断问题

1. Information

OS version: xxx

Node version: 8.11.x

fbi version: 3.2.x

2. Problem

node版本判断有问题,8.11版本明显是大于8.2的版本,你用浮点数比较就不对了啊

3. Recurrence

The steps of problem recurrence.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.