Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: CLI #1

Merged
merged 21 commits into from
Jan 27, 2025
Merged

feat: CLI #1

merged 21 commits into from
Jan 27, 2025

Conversation

fadeev
Copy link
Member

@fadeev fadeev commented Jan 26, 2025

CLI tool that clones a contract from https://github.com/zeta-chain/example-contracts

npx create-universal-contract
yarn create universal-contract
Screenshot 2025-01-26 at 17 38 44 Screenshot 2025-01-26 at 17 38 48

Features:

  • Shallow clone repo, cache it. If repo is older than 1 day, clone fresh
  • Output to custom directory
  • Fetches descriptions from package JSON for each example
  • Ask to overwrite dir if exists
  • Run non-interactively

@fadeev fadeev changed the title Clone examples CLI Jan 26, 2025
@fadeev fadeev changed the title CLI feat: CLI Jan 26, 2025
@fadeev fadeev marked this pull request as ready for review January 26, 2025 15:16
@fadeev fadeev merged commit 65bcdb7 into main Jan 27, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant