gf-cli

command module
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 21 Imported by: 0

README

GF-CLI

gf-cli is a powerful CLI tool for building GF application more convenience.

1. Install

It's recommended using pre-compiled binaries:

After downloads, please use gf install command to install gf binary to system binary path.

  1. Linux

    wget https://goframe.org/cli/linux_amd64/gf && chmod +x gf && sudo ./gf install
    
  2. Mac

    wget https://goframe.org/cli/darwin_amd64/gf && chmod +x gf && ./gf install
    

    If you're using zsh, you might need rename your alias by command alias gf=gf to resolve the conflicts between gf and git fetch.

  3. Windows

    Manually download, double click it and then follow the instruction.

2. Commands

$ gf
USAGE
    gf COMMAND [ARGUMENT] [OPTION]

COMMAND
    get        install or update GF to system in default...
    gen        automatically generate go files for ORM models...
    run        running go codes with hot-compiled-like feature...
    init       initialize an empty GF project at current working directory...
    help       show more information about a specified command
    pack       packing any file/directory to a resource file, or a go file
    build      cross-building go project for lots of platforms...
    update     update current gf binary to latest one (you may need root/admin permission)
    install    install gf binary to system (you may need root/admin permission)
    version    show version info

OPTION
    -?,-h      show this help or detail for specified command
    -v,-i      show version information

ADDITIONAL
    Use 'gf help COMMAND' or 'gf COMMAND -h' for detail about a command, which has '...' in the tail of their comments.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
commands
fix
gen
get
run
library

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL