Skip to content

CLI Feature: State management #22

@srinjoyc

Description

@srinjoyc

👋   If you are interested in working on this issue, please check out the Getting Started guide on HackerEarth!

Description (Problem Statement)

The CLI should allow saving the current state and then later restarting from that point similar to how you can use git to move between states. This feature is mostly implemented in the PR branch but should be tested, extended with a test suite, and ensure the UX is great.

Experience Required

  • Experience with Go
  • Basic understanding of Flow blockchain

Minimum Feature Set (Acceptance Criteria)

A developer has commands to achieve the following actions:

  • saving the state under a name
  • restoring to the named state
  • deleting a state
  • overwriting a state

The state should be persistent between restarts

Extension (Optional) Feature Set

Interoperability with the Emulator GUI task.

Milestone Requirements

  1. Finish the implementation and making sure it works
  2. Write tests around the feature proving the functionality of it
  3. Documentation of the feature

Software Requirements

Maintainability

Code should be written with best practices in mind.

Testing

Tests should cover all the code implementing this functionality.

Other Requirements

Documentation

  • All the commands and the usage should be well documented.

Code standards or guidelines

Judging Criteria

Resources

Metadata

Metadata

Assignees

Labels

Local Development ToolsTier 3Small task, spanning 1 milestone, generally can be completed with limited domain knowledge.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions