cli

command
v0.44.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

cli

Building the CLI

In production builds, the CLI embeds the SPA in web-local and the examples in examples (from the root of the repo). To create a production build of the CLI with these embedded, run:

# Build the binary and output it to ./rill
make cli

# To output usage:
./rill

# To run start:
./rill start dev-project

Running in development

In development, the CLI will serve a dummy frontend and not embed any examples. You can run it like this:

# Optionally run this to embed the UI and examples in the CLI
make cli.prepare

# To output usage:
go run ./cli

# To run start:
go run ./cli start dev-project

Generating CLI reference docs

See ../docs/README.md for details about the generated CLI reference docs.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
env
org
pkg
dotrill
Package dotrill implements setting and getting key-value pairs in YAML files in ~/.rill.
Package dotrill implements setting and getting key-value pairs in YAML files in ~/.rill.
web

Jump to

Keyboard shortcuts

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