Giter Club home page Giter Club logo

cli's Introduction

cli

Fiber Command Line Interface

Installation

go get -u github.com/gofiber/cli/fiber

Commands

fiber

Synopsis

๐Ÿš€ Fiber is an Express inspired web framework written in Go with ๐Ÿ’–

Learn more on https://gofiber.io

CLI version v0.0.x

Options

  -h, --help   help for fiber

fiber dev

Synopsis

Rerun the fiber project if watched files changed

fiber dev [flags]

Examples

  fiber dev --pre-run="command1 flag,command2 flag"
  Pre run specific commands before running the project

Options

  -a, --args strings            arguments for exec
  -d, --delay duration          delay to trigger rerun (default 1s)
  -D, --exclude_dirs strings    ignore these directories (default [assets,tmp,vendor,node_modules])
  -F, --exclude_files strings   ignore these files
  -e, --extensions strings      file extensions to watch (default [go,tmpl,tpl,html])
  -h, --help                    help for dev
  -p, --pre-run strings         pre run commands, see example for more detail
  -r, --root string             root path for watch, all files must be under root (default ".")
  -t, --target string           target path for go build (default ".")

fiber new

Synopsis

Generate a new fiber project

fiber new PROJECT [module name] [flags]

Examples

  fiber new fiber-demo
  Generates a project with go module name fiber-demo

  fiber new fiber-demo your.own/module/name
  Specific the go module name

  fiber new fiber-demo -t=complex
  Generate a complex project

  fiber new fiber-demo -t complex -r githubId/repo
  Generate project based on Github repo

  fiber new fiber-demo -t complex -r https://anyProvider.com/username/repo.git
  Generate project based on repo outside Github with https

  fiber new fiber-demo -t complex -r [email protected]:id/repo.git
  Generate project based on repo outside Github with ssh

Options

  -h, --help              help for new
  -r, --repo string       complex boilerplate repo name in github or other repo url (default "gofiber/boilerplate")
  -t, --template string   basic|complex (default "basic")

fiber upgrade

Synopsis

Upgrade Fiber cli if a newer version is available

fiber upgrade [flags]

Options

  -h, --help   help for upgrade

fiber version

Synopsis

Print the local and released version number of fiber

fiber version [flags]

Options

  -h, --help   help for version

cli's People

Contributors

codemicro avatar dependabot[bot] avatar fenny avatar hi019 avatar jhwz avatar kiyonlin avatar wlun001 avatar

Stargazers

 avatar

Watchers

 avatar

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.