cli

command module
v0.0.0-...-be7d329 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 1 Imported by: 0

README

Build up CLI and release

(last edit: 10/24/2024)

To build up Maestro CLI and release with Symphony API and samples. The build uses mage to automate the process. Please refer to Build CLI if manual steps are preferred.

Prerequisites

  1. If you are doing this from WSL/Ubuntu, install zip.

    sudo apt-get install zip unzip -y
    
  2. Update maestro version.

    Update the SymphonyAPIVersion constant under cli/cmd/up.go to reflect the latest Symphony version.

Mage Commands

See all commands with mage -l

# under symphony/cli folder
> mage -l
Use this tool to quickly build symphony API or maestro CLI. It can also help generate the release package.

Targets:
  buildApi            Build Symphony API for Windows, Mac and Linux.
  buildCli            Build maestro CLI tools for Windows, Mac and Linux.
  generatePackages    Generate packages with Symphony API, maestro CLI and samples for Windows, Mac and Linux.

Samples

# under symphony/cli folder
# Build up Symphony API for Windows, Mac and Linux. You can find the binary files in symphony/api folder
mage buildApi

# Build up Maestro CLI for Windows, Mac and Linux. You can find the binary files in symphony/cli folder
mage buildCli

# Build up Symphony API and Maestro CLI for Windows, Mac and Linux. Copy the binary files, samples and configuration files to the specified folder and generate the release package. You will find maestro_windows_amd64.zip, maestro_darwin_amd64.tar.gz and maestro_linux_amd64.tar.gz in the specified folder.
mage generatePackages /home/usr/assemble

Release

  1. Edit your release to include the three .gz files from the previous step:

    CLI release

  2. Check symphony/cli/install/install.sh and symphony/cli/install/install.ps1 to a public repository. Users will be instructed to use scripts from this repo for the one-command experience, for example:

    wget -q https://raw.githubusercontent.com/eclipse-symphony/symphony/master/cli/install/install.sh -O - | /bin/bash
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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