Skip to content

Feat: Add gltest init command#3

Closed
danieljrc888 wants to merge 3 commits into
mainfrom
feat/add-gltest-init-command
Closed

Feat: Add gltest init command#3
danieljrc888 wants to merge 3 commits into
mainfrom
feat/add-gltest-init-command

Conversation

@danieljrc888
Copy link
Copy Markdown
Contributor

@danieljrc888 danieljrc888 commented Apr 9, 2025

Closes DXP-218

What

  • Added gltest init <dir> to initialize a template proyect
  • Added sample project
  • Integrate Typer as the cli engine
.
├── contracts
│   └── storage.gpy
├── README.md
└── test
    └── test_storage.py

Testing

Try the following commands

pip install .
gltest init --> It will create the sample project in the current directory (By default)
gltest init -o sample --> It will create the sample project in the current directory
gltest init -o sample --> If the directory exists and is not empty, it will show an error in the console

@danieljrc888 danieljrc888 self-assigned this Apr 9, 2025
@danieljrc888 danieljrc888 requested a review from cristiam86 April 9, 2025 23:36
@danieljrc888 danieljrc888 added the enhancement New feature or request label Apr 9, 2025
@linear
Copy link
Copy Markdown

linear Bot commented Apr 9, 2025

DXP-218 Implement gltest init command

Similar to hardhat, the GenLayer Testing Suite should implement the gltest init command to create a sample project to get started

@danieljrc888
Copy link
Copy Markdown
Contributor Author

The GenLayer CLI is implementing this feature genlayerlabs/genlayer-cli#196

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant