Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

frontend-cli

Call the demo greeting backend with a simple command-line app.

Usage

A simple usage example:

With the backend running on localhost:8080

dart bin/greet.dart YOUR-NAME

With the backend hosted on another host (Cloud Run):

export GREETING_URL=https://greeting-EXAMPLE.run.app
dart bin/greet.dart YOUR-NAME

Activate the app locally so you can just run the greet command:

dart pub global activate --source path .
greet YOUR-NAME