Skip to content

Conversation

@fadeev
Copy link
Member

@fadeev fadeev commented May 22, 2025

yarn zetachain run
Usage: zetachain run [options] [command]

Run commands from the commands directory

Options:
  -h, --help  display help for command

Commands:
  deploy      Deploy example contract.

commands/ dir is just for demo purposes.

@fadeev fadeev marked this pull request as ready for review May 27, 2025 08:52
@fadeev fadeev requested a review from a team as a code owner May 27, 2025 08:52
Copy link
Member

@hernan-clich hernan-clich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea!! Tested ACK

runCommand.addCommand(cmd);
}
}
} catch (error) {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should do something with this catch block

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what we can do. Console logging something every time CLI doesn't find commands can be annoying.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there's no error to catch, then we shouldn't be using the try/catch pattern.

@fadeev fadeev marked this pull request as draft October 27, 2025 16:22
@fadeev
Copy link
Member Author

fadeev commented Oct 27, 2025

Probably not a priority, keeping it draft for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants