Skip to content

Commit

Permalink
omnicli -> omni
Browse files Browse the repository at this point in the history
  • Loading branch information
ttarsi committed Mar 4, 2024
1 parent 76ad9d7 commit 7179074
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fix-golden: ## Fixes golden test fixtures.
@./scripts/fix_golden_tests.sh

.PHONY: build-cli
build-cli: ## Build the omnicli.
build-cli: ## Build the omni cli.
@go build -o omni cli/main.go

###############################################################################
Expand Down
4 changes: 2 additions & 2 deletions cli/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// New returns a new root cobra command that handles our command line tool.
func New() *cobra.Command {
return libcmd.NewRootCmd(
"omnicli",
"omni",
"CLI providing tools for omni operators",
newOperatorCmds(),
newDevnetCmds(),
Expand Down Expand Up @@ -38,7 +38,7 @@ func newRegisterCmd() *cobra.Command {
to successfully register an operator address with the Omni AVS contract.
Note the operator must already be registered with Eigen-Layer.`,
Example: " omnicli operator register <eigen-configuration-file>",
Example: " omni operator register <eigen-configuration-file>",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
return Register(cmd.Context(), args[0], omniAVSAddress)
Expand Down
4 changes: 2 additions & 2 deletions cli/cmd/devnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func newDevnetFundCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "fund",
Short: "Fund a local devnet account with 1 ETH",
Example: " omnicli devnet fund <address> <rpc_url>",
Example: " omni devnet fund <address> <rpc_url>",
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
return fund(cmd.Context(), args[0], args[1])
Expand All @@ -61,7 +61,7 @@ func newDevnetAVSAllow() *cobra.Command {
cmd := &cobra.Command{
Use: "avs-allow",
Short: "Add an operator to the omni AVS allow list",
Example: " omnicli devnet avs-allow <operator-address> <rpc-url> [avs-address]",
Example: " omni devnet avs-allow <operator-address> <rpc-url> [avs-address]",
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
return devnetAllow(cmd.Context(), args[0], args[1], omniAVSAddress)
Expand Down

0 comments on commit 7179074

Please sign in to comment.