Skip to content

The eest CLIยถ

eestยถ

eest is a CLI tool that helps with routine tasks.

Usage:

eest [OPTIONS] COMMAND [ARGS]...

Options:

  -h, --help  Show this message and exit.

Subcommands

  • clean: Remove all generated files and directories.
  • info: Display EEST and system information.
  • make: Generate project files.

eest cleanยถ

Remove all generated files and directories from the repository.

If --all is specified, the virtual environment and .just directory will also be removed.

Args: all_files (bool): Remove the virtual environment and .just directory as well.

dry_run (bool): Simulate the cleanup without removing files.

verbose (bool): Show verbose output.

Note: The virtual environment and .just directory are not removed by default.

Example: Cleaning all generated files and directories and show the deleted items.

uv run eest clean --all -v

Output:

๐Ÿ—‘๏ธ  Deleted: .just
๐Ÿ—‘๏ธ  Deleted: .venv
๐Ÿ—‘๏ธ  Deleted: src/cli/et/__pycache__
๐Ÿ—‘๏ธ  Deleted: src/cli/et/commands/__pycache__
๐Ÿ—‘๏ธ  Deleted: src/cli/et/make/__pycache__
๐Ÿ—‘๏ธ  Deleted: src/cli/et/make/commands/__pycache__
...
๐Ÿงน Cleanup complete!

Usage:

eest clean [OPTIONS]

Options:

  --all          Remove the virtual environment and .just directories as well.
  --dry-run      Simulate the cleanup without removing files.
  -v, --verbose  Show verbose output.
  -h, --help     Show this message and exit.

eest infoยถ

Display EEST and system information.

Usage:

eest info [OPTIONS]

Options:

  -h, --help  Show this message and exit.

eest makeยถ

Generate project files.

Usage:

eest make [OPTIONS] COMMAND [ARGS]...

Options:

  -h, --help  Show this message and exit.

Subcommands

  • env: Generate the default environment file (env.yaml).
  • test: Generate a new test file for an EIP.

eest make envยถ

CLI command to generate the default environment file (env.yaml).

If an env.yaml already exists, this command will NOT override it. In that case, it is recommended to manually make changes.

Easter egg: Shows a random quote after creating the environment file.

Example: uv run eest make env

Output:

๐ŸŽ‰ Success! Environment file created at: <path>/env.yaml

๐Ÿš€ Well begun is half done. - Aristotle

Usage:

eest make env [OPTIONS]

Options:

  -h, --help  Show this message and exit.

eest make testยถ

Generate a new test file for an EIP.

This function guides the user through a series of prompts to generate a test file for Ethereum execution specifications. The user is prompted to select the type of test, the fork to use, and to provide the EIP number and name. Based on the inputs, a test file is created in the appropriate directory with a rendered template.

Example: uv run eest make test

Usage:

eest make test [OPTIONS]

Options:

  -h, --help  Show this message and exit.