Barca CLI
Barca CLI is a project generator written in GO and its purpose is to build and configure HTTP servers, web proxy, SPA/PWA, Blog and custom landing page. It's easy, fast and productive.
Français · 简体中文 · Español · русский . 日本語 · Deutsch · Italiano · 한국어 . Українська . Português Brasileiro .
Using the Tool
CLI (Command-Line Interface) is an environment where users can enter command lines to perform tasks in operating systems or in programming jobs.
Downloads all modules in the file to the local cache
go mod download
Run go run main.go
with argument --help
to list all CLI commands and flags
Example:
go run main.go --help
To build an HTTP Web Server, let's mention init
and api
arguments to start a simple Rest API.
Example:
go run main.go init api <project-name>