From 6a474b2a73325894a41c0ffac5d56f5702729802 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Wed, 6 Dec 2023 21:48:36 -0600 Subject: [PATCH 1/2] docs(agoric-cli): add agoric run; deprecate beta features - CLI Commands -> CLI Reference - prune initial "in this order" section in favor of list from `agoric help` - agoric run: brief usage; cite writeCoreProposals discussion - init: deprecate in favor of `yarn create @agoric/dapp` - Syntax -> Usage - markdown lint: `-` rather than `*` for lists; `_` rather than `*` for italic - install: deprecate This is supposed to be able to install from npm. I thought `agoric install agoric-upgrade-11wf` was supposed to do it, but I got an endless series of questions about what versions to use. If we have a form that's tested in ci, I'm not aware of it. Until we do, let's deprecate this. - start local-chain: document briefly - start: deprecate as beta feature - deploy: deprecate as beta feature - open: deprecate as beta feature --- main/guides/agoric-cli/README.md | 189 ++++++++++++++++++------------- 1 file changed, 112 insertions(+), 77 deletions(-) diff --git a/main/guides/agoric-cli/README.md b/main/guides/agoric-cli/README.md index f7d32ce9c..683d86e18 100644 --- a/main/guides/agoric-cli/README.md +++ b/main/guides/agoric-cli/README.md @@ -1,36 +1,72 @@ -# Agoric CLI Commands +# Agoric CLI Reference -In general, you'll want to issue the Agoric CLI (Command Line Interface) commands in this order: +## agoric help + +Displays the Agoric CLI commands and arguments with brief descriptions. + +**Usage**: + +```sh +agoric [command] +``` + +By default, lists all commands: + +``` + cosmos client for an Agoric Cosmos chain + ibc-setup set up Inter Blockchain Communication + open [options] launch the Agoric UI + init [options] create a new Dapp directory named + set-defaults [options] update the configuration files for in + ibc-relayer run an Inter Blockchain Communications relayer + install [force-sdk-version] install Dapp dependencies + follow [options] follow an Agoric Casting leader + run