Add User Control Over State Transitions #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "03/state-transitions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Allows users to set state using the new
ent statecommand from the CLILove it.
But I think
new_stateinCommand::Stateshould beOption<State>and should just report the old state if no new one is supplied.Also you added
Issue::read_state()but you never call it, was that intentional?@seb wrote in #7 (comment):
good idea!
@seb wrote in #7 (comment):
Yeah - i was going to use it in the
new_from_dirfunction, but that needs a little cleanup before it can initialize the state using the built-in function, which I was going to do in a separate MR.@seb - added the optional
Statein the CLI and also made the printout nicerExample CLI output: